[gnome-online-accounts] Replace gtk_hbox_new with gtk_box_new



commit da62ca1532ea51969d76e3652ba1fc4528949c8b
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Apr 6 14:08:08 2012 +0200

    Replace gtk_hbox_new with gtk_box_new

 src/goabackend/goaprovider.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/goabackend/goaprovider.c b/src/goabackend/goaprovider.c
index 294689d..1561e6d 100644
--- a/src/goabackend/goaprovider.c
+++ b/src/goabackend/goaprovider.c
@@ -1462,7 +1462,8 @@ goa_util_add_row_switch_from_keyfile (GtkTable     *table,
                           account, property,
                           G_BINDING_BIDIRECTIONAL | G_BINDING_INVERT_BOOLEAN);
 
-  hbox = gtk_hbox_new (0, FALSE);
+  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+  gtk_box_set_homogeneous (GTK_BOX (hbox), FALSE);
   gtk_box_pack_start (GTK_BOX (hbox), switch_, FALSE, TRUE, 0);
   goa_util_add_row_widget (table, label_text, hbox);
   return switch_;
@@ -1489,7 +1490,8 @@ goa_util_add_row_switch_from_keyfile_with_blurb (GtkTable     *table,
                           account, property,
                           G_BINDING_BIDIRECTIONAL | G_BINDING_INVERT_BOOLEAN);
 
-  hbox = gtk_hbox_new (0, FALSE);
+  hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+  gtk_box_set_homogeneous (GTK_BOX (hbox), FALSE);
 
   if (blurb != NULL)
     {



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