X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcanvasview.cpp;h=3af3417c4b045de2e01d820a38c65ee0dfd56460;hb=6058f1f8af684257c314a78cc0a24ced57bf3168;hp=d20c6ec3806be0a45081f5037ce377421a00763e;hpb=512dc35bea5b0ccdf5a7aeeddaef6c953e78d784;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp b/synfig-studio/trunk/src/gtkmm/canvasview.cpp index d20c6ec..3af3417 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp +++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp @@ -6,7 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley -** Copyright (c) 2007 Chris Moore +** Copyright (c) 2007, 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -1203,7 +1203,7 @@ CanvasView::init_menus() sigc::hide_return(sigc::ptr_fun(&studio::App::new_instance)) ); action_group->add( Gtk::Action::create("open", Gtk::Stock::OPEN), - sigc::hide_return(sigc::ptr_fun(&studio::App::dialog_open)) + sigc::hide_return(sigc::mem_fun(*get_instance().get(), &studio::Instance::open)) ); action_group->add( Gtk::Action::create("save", Gtk::Stock::SAVE), hide_return(sigc::mem_fun(*get_instance().get(), &studio::Instance::save))