gui/map_win.cc
changeset 1891 56a718d144c4
parent 1884 9c061834b33b
child 1893 4a35c7847c77
     1.1 --- a/gui/map_win.cc	Wed Jan 11 15:49:06 2006 +0000
     1.2 +++ b/gui/map_win.cc	Thu Jan 12 13:28:54 2006 +0000
     1.3 @@ -29,7 +29,7 @@
     1.4      (*table).attach((*(e_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3);
     1.5  
     1.6      e_combo_array[i]->signal_cbt_ch().connect(sigc::bind(sigc::mem_fun(*this, &MapWin::edgeMapChanged), i));
     1.7 -    e_combo_array[i]->signal_newmapwin_needed().connect(sigc::bind(sigc::mem_fun(*this, &MapWin::newMapWinNeeded), i));
     1.8 +    e_combo_array[i]->signal_newmapwin_needed().connect(sigc::mem_fun(*this, &MapWin::newMapWinNeeded));
     1.9    }
    1.10  
    1.11    vbox.pack_start(*(new Gtk::Label("Edge properties")));
    1.12 @@ -49,7 +49,7 @@
    1.13      (*table).attach((*(n_combo_array[i])),0,1,i,i+1,Gtk::SHRINK,Gtk::SHRINK,10,3);
    1.14  
    1.15      n_combo_array[i]->signal_cbt_ch().connect(sigc::bind(sigc::mem_fun(*this, &MapWin::nodeMapChanged), i));
    1.16 -    n_combo_array[i]->signal_newmapwin_needed().connect(sigc::bind(sigc::mem_fun(*this, &MapWin::newMapWinNeeded), i));
    1.17 +    n_combo_array[i]->signal_newmapwin_needed().connect(sigc::mem_fun(*this, &MapWin::newMapWinNeeded));
    1.18    }
    1.19  
    1.20    add(vbox);
    1.21 @@ -76,9 +76,9 @@
    1.22    mytab.propertyChange(true, prop, mapname);
    1.23  }
    1.24  
    1.25 -void MapWin::newMapWinNeeded(bool itisedge, int prop)
    1.26 +void MapWin::newMapWinNeeded(bool itisedge)
    1.27  {
    1.28 -  mytab.popupNewMapWin(itisedge, prop);
    1.29 +  mytab.popupNewMapWin(itisedge);
    1.30  }
    1.31  
    1.32  void MapWin::update(std::vector<std::string> eml, std::vector<std::string> nml)