13
0

when connecting to sigc signals, use sigc methods, not boost::bind

This commit is contained in:
Paul Davis 2017-08-24 09:31:45 -04:00
parent 55f0bb692a
commit cc7243d4ce

View File

@ -203,8 +203,8 @@ TemplateDialog::TemplateDialog ()
signal_hide().connect (sigc::mem_fun (session_tm, &TemplateManager::handle_dirty_description));
signal_hide().connect (sigc::mem_fun (route_tm, &TemplateManager::handle_dirty_description));
nb->signal_switch_page().connect (boost::bind (&TemplateManager::handle_dirty_description, session_tm));
nb->signal_switch_page().connect (boost::bind (&TemplateManager::handle_dirty_description, route_tm));
nb->signal_switch_page().connect (sigc::hide (sigc::hide (sigc::mem_fun (session_tm, &TemplateManager::handle_dirty_description))));
nb->signal_switch_page().connect (sigc::hide (sigc::hide (sigc::mem_fun (route_tm, &TemplateManager::handle_dirty_description))));
}
TemplateManager::TemplateManager ()