TODO with GTKMM_DISABLE_DEPRECATED enabled in About dialog

set_url_hook is not available with GTKMM_DISABLE_DEPRECATED enabled but
About::signal_activate_link(the alternative API) is not available until gtkmm3
so I'm not sure what to do here yet.
This commit is contained in:
Tim Mayberry 2015-09-20 13:36:33 +10:00
parent 3ce7c19220
commit c1f56662bc

View File

@ -645,7 +645,9 @@ About::About ()
if (btn) {
btn->signal_clicked().connect(sigc::mem_fun(static_cast<Gtk::Window*>(this), &Gtk::Window::hide));
}
#ifndef GTKMM_DISABLE_DEPRECATED
set_url_hook (sigc::ptr_fun(&About::launch_homepage));
#endif
}
About::~About ()