[gnome-software: 36/110] gs-description-box: Replace gtk_box_pack_start with gtk_box_append




commit 86f213232391371211941da72fa9511cc29f3f8a
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Aug 23 10:16:59 2021 -0300

    gs-description-box: Replace gtk_box_pack_start with gtk_box_append

 src/gs-description-box.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-description-box.c b/src/gs-description-box.c
index b4dd41d39..f60198b84 100644
--- a/src/gs-description-box.c
+++ b/src/gs-description-box.c
@@ -166,7 +166,7 @@ gs_description_box_init (GsDescriptionBox *box)
                "xalign", 0.0,
                NULL);
 
-       gtk_box_pack_start (GTK_BOX (box), widget, TRUE, TRUE, 0);
+       gtk_box_append (GTK_BOX (box), widget);
 
        style_context = gtk_widget_get_style_context (widget);
        gtk_style_context_add_class (style_context, "label");
@@ -183,7 +183,7 @@ gs_description_box_init (GsDescriptionBox *box)
                "visible", TRUE,
                NULL);
 
-       gtk_box_pack_start (GTK_BOX (box), widget, FALSE, FALSE, 0);
+       gtk_box_append (GTK_BOX (box), widget);
 
        style_context = gtk_widget_get_style_context (widget);
        gtk_style_context_add_class (style_context, "button");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]