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:
Matthias Clasen 2015-07-19 09:59:18 -04:00
parent 4fbd9a3d28
commit f881f37789

View File

@ -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),