window: Show title box when the decorations are created
This commit is contained in:
@@ -4894,6 +4894,7 @@ create_decoration (GtkWidget *widget)
|
||||
priv->title_close_button, FALSE, FALSE, 0);
|
||||
g_signal_connect (priv->title_close_button, "clicked",
|
||||
G_CALLBACK (gtk_window_title_close_clicked), window);
|
||||
gtk_widget_show_all (priv->title_box);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4915,9 +4916,6 @@ gtk_window_show (GtkWidget *widget)
|
||||
return;
|
||||
}
|
||||
|
||||
if (priv->title_box)
|
||||
gtk_widget_show_all (priv->title_box);
|
||||
|
||||
_gtk_widget_set_visible_flag (widget, TRUE);
|
||||
|
||||
need_resize = _gtk_widget_get_alloc_needed (widget) || !gtk_widget_get_realized (widget);
|
||||
|
||||
Reference in New Issue
Block a user