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:
parent
3ce7c19220
commit
c1f56662bc
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue
Block a user