[gtk/matthiasc/for-master] headerbar: Cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] headerbar: Cosmetics
- Date: Fri, 24 Sep 2021 12:59:42 +0000 (UTC)
commit 610ba1cadfd81a3d81130c23d2e5291d40f2e202
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Sep 24 08:54:04 2021 -0400
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]