diff -r 4042761b21e3 -r e9f8f44f12a3 main_win.cc --- a/main_win.cc Mon Nov 21 12:07:05 2005 +0000 +++ b/main_win.cc Mon Nov 21 18:03:20 2005 +0000 @@ -2,8 +2,7 @@ #include "icons/guipixbufs.h" MainWin::MainWin() : - newmapwin("Creating new map", gd_canvas), - mapwin("Map Setup", mapstorage, gd_canvas, newmapwin), + mapwin("Map Setup", mapstorage, gd_canvas), gd_canvas(mapstorage, mapwin, (Gtk::Window *)this) { set_title ("unsaved file - " + prog_name); @@ -121,7 +120,7 @@ sigc::bind( sigc::mem_fun ( this->gd_canvas, &GraphDisplayerCanvas::changeEditorialTool ), 5) ); ag->add( Gtk::Action::create("AddMap", Gtk::StockID("gd-newmap")), - sigc::mem_fun ( this->newmapwin, &NewMapWin::show ) ); + sigc::mem_fun (new NewMapWin("NewMapWin", gd_canvas), &NewMapWin::show ) ); uim=Gtk::UIManager::create(); uim->insert_action_group(ag);