[gnome-games] gnobots2: replace use of depreacted API



commit b83c4ebc8a8e86b26969aef850511d74bfe8771c
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Wed Dec 28 01:04:02 2011 +0100

    gnobots2: replace use of depreacted API

 gnobots2/src/properties.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnobots2/src/properties.c b/gnobots2/src/properties.c
index 569ccf1..6feab89 100644
--- a/gnobots2/src/properties.c
+++ b/gnobots2/src/properties.c
@@ -565,7 +565,7 @@ show_properties_dialog (void)
 
   gtk_box_pack_start (GTK_BOX (vbox), controls_list, TRUE, TRUE, 0);
 
-  hbox = gtk_hbutton_box_new ();
+  hbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
   gtk_button_box_set_layout (GTK_BUTTON_BOX (hbox), GTK_BUTTONBOX_START);
   gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
 



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