Merge branch 'master' into 'gtk3' to fix modal dialogs without a parent
This commit is contained in:
@@ -581,4 +581,9 @@ inline void setActiveTextOrIndex (Gtk::ComboBoxText& comboBox, const Glib::ustri
|
||||
}
|
||||
}
|
||||
|
||||
inline Gtk::Window& getToplevelWindow (Gtk::Widget* widget)
|
||||
{
|
||||
return *static_cast<Gtk::Window*> (widget->get_toplevel ());
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user