summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.c
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2020-05-25 20:14:58 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2020-07-02 23:51:16 +0500
commit7c3b30036eafecf84ac39e7e671cacd4283dcdbf (patch)
tree96e63fcfb5a0cb8e18aadda7a404f9bfd19ae075 /gtk/gtkwindow.c
parent988901294dffafdc80f8672e8a9a74cc5dcccf97 (diff)
downloadgtk+-7c3b30036eafecf84ac39e7e671cacd4283dcdbf.tar.gz
headerbar: Show title buttons by default
Most of the time show-title-buttons is set to TRUE. Go ahead and make that the default.
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r--gtk/gtkwindow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 86b745e3a4..c2591b90c1 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4308,7 +4308,6 @@ gtk_window_realize (GtkWidget *widget)
if (priv->title_box == NULL)
{
priv->titlebar = gtk_header_bar_new ();
- gtk_header_bar_set_show_title_buttons (GTK_HEADER_BAR (priv->titlebar), TRUE);
gtk_widget_add_css_class (priv->titlebar, GTK_STYLE_CLASS_TITLEBAR);
gtk_widget_add_css_class (priv->titlebar, "default-decoration");