[gnome-bluetooth] Use gtk_buton_box_new() instead gtk_hbutton_box_new()



commit f7d34a0e07da7580ed4cce860ffd468a22ed42a4
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Nov 3 05:16:30 2010 +0100

    Use gtk_buton_box_new() instead gtk_hbutton_box_new()

 properties/adapter.c            |    2 +-
 properties/cc-bluetooth-panel.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/properties/adapter.c b/properties/adapter.c
index f93df79..efa0434 100644
--- a/properties/adapter.c
+++ b/properties/adapter.c
@@ -360,7 +360,7 @@ static void create_adapter(adapter_data *adapter)
 
 	adapter->devices_table = table;
 
-	buttonbox = gtk_vbutton_box_new();
+	buttonbox = gtk_button_box_new (GTK_ORIENTATION_VERTICAL);
 	gtk_button_box_set_layout(GTK_BUTTON_BOX(buttonbox),
 						GTK_BUTTONBOX_START);
 	gtk_box_set_spacing(GTK_BOX(buttonbox), 6);
diff --git a/properties/cc-bluetooth-panel.c b/properties/cc-bluetooth-panel.c
index 3fec014..17eeb91 100644
--- a/properties/cc-bluetooth-panel.c
+++ b/properties/cc-bluetooth-panel.c
@@ -107,7 +107,7 @@ create_window (GtkWidget *notebook,
 	g_settings_bind (settings, PREF_SHOW_ICON, G_OBJECT (button), "active",
 			 G_SETTINGS_BIND_DEFAULT);
 
-	buttonbox = gtk_hbutton_box_new();
+	buttonbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
 	gtk_button_box_set_layout(GTK_BUTTON_BOX(buttonbox), GTK_BUTTONBOX_END);
 	gtk_box_pack_start(GTK_BOX(vbox), buttonbox, FALSE, FALSE, 0);
 



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