[bijiben/wip/gbsneto/webkit2: 5/5] settingsDialog: don't add the same widget twice



commit 9689d0acaca044b89c14e48f32aa52f38f5d928e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Mar 14 11:40:55 2017 -0300

    settingsDialog: don't add the same widget twice

 src/bjb-settings-dialog.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/bjb-settings-dialog.c b/src/bjb-settings-dialog.c
index 96604f7..4931923 100644
--- a/src/bjb-settings-dialog.c
+++ b/src/bjb-settings-dialog.c
@@ -328,7 +328,6 @@ add_child (gpointer provider_info, gpointer user_data)
   gtk_widget_set_margin_end (w, 180);
   gtk_container_add (GTK_CONTAINER (box), w);
   gtk_widget_set_valign (w, GTK_ALIGN_CENTER);
-  gtk_box_pack_end (GTK_BOX (box), w, FALSE, FALSE, 0);
 
   self->priv->children = g_list_prepend (priv->children, child);
   gtk_widget_show_all (box);


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