mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
headerbar: Stop looking at type hints
This commit is contained in:
parent
aec3705717
commit
66669e0573
@ -346,9 +346,8 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
|
||||
else
|
||||
menu = NULL;
|
||||
|
||||
is_sovereign_window = (!gtk_window_get_modal (window) &&
|
||||
gtk_window_get_transient_for (window) == NULL &&
|
||||
gtk_window_get_type_hint (window) == GDK_SURFACE_TYPE_HINT_NORMAL);
|
||||
is_sovereign_window = !gtk_window_get_modal (window) &&
|
||||
gtk_window_get_transient_for (window) == NULL;
|
||||
|
||||
tokens = g_strsplit (layout_desc, ":", 2);
|
||||
if (tokens)
|
||||
|
Loading…
Reference in New Issue
Block a user