diff options
author | Alexander Mikhaylenko <alexm@gnome.org> | 2021-01-06 22:04:55 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2021-01-06 22:04:55 +0500 |
commit | fd073deea9c4f3c7201c34fac6e2a024320ffe2e (patch) | |
tree | 7aef364d150e0aaf37e2cea1f80af96f025c15a5 | |
parent | 0eab4deab0674b1819cde231eb490632109026d2 (diff) | |
download | gtk+-fd073deea9c4f3c7201c34fac6e2a024320ffe2e.tar.gz |
headerbar: Prepend start window controls instead of appending
Make sure they are always in the correct position.
-rw-r--r-- | gtk/gtkheaderbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c index 1cb9e8185a..30423b9d48 100644 --- a/gtk/gtkheaderbar.c +++ b/gtk/gtkheaderbar.c @@ -167,7 +167,7 @@ create_window_controls (GtkHeaderBar *bar) g_object_bind_property (controls, "empty", controls, "visible", G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN); - gtk_box_append (GTK_BOX (bar->start_box), controls); + gtk_box_prepend (GTK_BOX (bar->start_box), controls); bar->start_window_controls = controls; controls = gtk_window_controls_new (GTK_PACK_END); |