Re: How can be signal_remove() used on Window?



Dimitri Holz a écrit :
(*this      is  an  Gtk::Window )
this->signal_remove().connect(sigc::mem_fun(*this,&MainView::OnRemovedWindow));

Hi !

You dereferenced the "this" pointer where you should note. Here is the version that might compile :
this->signal_remove().connect(sigc::mem_fun(this,&MainView::OnRemovedWindow));

Best regards.

Guillaume


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]