From 610ba1cadfd81a3d81130c23d2e5291d40f2e202 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 24 Sep 2021 08:54:04 -0400 Subject: [PATCH] headerbar: Cosmetics Use the box api we have. --- gtk/gtkheaderbar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c index 7668d7fe5b..5c99ff090f 100644 --- a/gtk/gtkheaderbar.c +++ b/gtk/gtkheaderbar.c @@ -467,8 +467,7 @@ gtk_header_bar_pack (GtkHeaderBar *bar, } else if (pack_type == GTK_PACK_END) { - gtk_box_append (GTK_BOX (bar->end_box), widget); - gtk_box_reorder_child_after (GTK_BOX (bar->end_box), widget, NULL); + gtk_box_prepend (GTK_BOX (bar->end_box), widget); } if (bar->track_default_decoration)