mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
Fix csd decorations
By accident, commit b9b17c3c2a
removed one line
that wasn't unused, but important for hiding close buttons on
dialogs. Bring it back.
This commit is contained in:
parent
4fbd9a3d28
commit
f881f37789
@ -296,6 +296,9 @@ _gtk_header_bar_update_window_buttons (GtkHeaderBar *bar)
|
||||
priv->titlebar_end_separator = NULL;
|
||||
}
|
||||
|
||||
if (!priv->shows_wm_decorations)
|
||||
return;
|
||||
|
||||
direction = gtk_widget_get_direction (widget);
|
||||
|
||||
g_object_get (gtk_widget_get_settings (widget),
|
||||
|
Loading…
Reference in New Issue
Block a user