mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
window: Add automatic titlebar before content widget
Just like we do with explicitly set titlebars
This commit is contained in:
parent
0c1cfbbad1
commit
b2875d7b19
@ -4312,7 +4312,7 @@ gtk_window_realize (GtkWidget *widget)
|
||||
gtk_widget_add_css_class (priv->titlebar, GTK_STYLE_CLASS_TITLEBAR);
|
||||
gtk_widget_add_css_class (priv->titlebar, "default-decoration");
|
||||
|
||||
gtk_widget_set_parent (priv->titlebar, widget);
|
||||
gtk_widget_insert_after (priv->titlebar, widget, NULL);
|
||||
priv->title_box = priv->titlebar;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user