--- src/ps/pfb2pfa.cc 2005/04/06 13:39:20 1.1 +++ src/ps/pfb2pfa.cc 2005/04/06 13:39:48 @@ -48,7 +48,7 @@ void PS::pfb2pfa(std::istream &in, std:: } filter.end(); } - if(lengths) lengths->push_back(out.tellp() - blockstart); + if(lengths) lengths->push_back((long)(out.tellp()) - blockstart); debug << "Blockstart: " << blockstart << ", end: " << out.tellp() << "\n"; } --- src/util/valueunit.h 2005/04/06 13:42:26 1.1 +++ src/util/valueunit.h 2005/04/06 14:08:28 @@ -6,6 +6,10 @@ #include "stringutil.h" #include +template class ValueUnit; +template std::istream& operator>> (std::istream& in, + ValueUnit& vu); + template class ValueUnit { public: --- src/pptout/widget/dialogwrap.cc 2005/04/06 14:12:57 1.1 +++ src/pptout/widget/dialogwrap.cc 2005/04/06 14:25:51 @@ -23,9 +23,9 @@ Gtk::Button* DialogWrap::fix_button(Gtk: Gtk::Button *b = manage(button); // Note: It seems that activate means "in any way except a simple click". // So we have to add callbacks for both activate and clicked. - b->signal_clicked().connect(bind(slot(*this, &Gtk::Dialog::on_response), + b->signal_clicked().connect(bind(slot(*this, &DialogWrap::on_response), action_id)); - b->signal_activate().connect(bind(slot(*this, &Gtk::Dialog::on_response), + b->signal_activate().connect(bind(slot(*this, &DialogWrap::on_response), action_id)); return b; } --- src/pptout/aboutdialog.cc 2005/04/06 14:28:36 1.1 +++ src/pptout/aboutdialog.cc 2005/04/06 14:29:03 @@ -61,9 +61,9 @@ AboutDialog::AboutDialog() webpage->set_relief(Gtk::RELIEF_NONE); webpage->set_border_width(0); webpage->signal_clicked().connect - (bind(slot(*this, &AboutDialog::on_response), OPEN_WEBPAGE)); + (bind(slot(*this, &AboutDialog::on_response), (int) OPEN_WEBPAGE)); webpage->signal_activate().connect - (bind(slot(*this, &AboutDialog::on_response), OPEN_WEBPAGE)); + (bind(slot(*this, &AboutDialog::on_response), (int) OPEN_WEBPAGE)); message->pack_start(*webpage, Gtk::PACK_SHRINK); label =