[libgda] Replace deprecated GtkHBox with GtkBox.



commit 01f1f14f89978f4038c66f08ed9f4c899525ed45
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Jul 4 12:31:06 2011 +0200

    Replace deprecated GtkHBox with GtkBox.
    
    This (tedious) deprecation happened in GTK+ 3.1/3.2.

 control-center/cc-gray-bar.c                       |    2 +-
 control-center/cc-utility.c                        |    4 ++--
 control-center/dsn-config.c                        |    2 +-
 control-center/dsn-properties-dialog.c             |    2 +-
 control-center/gdaui-login-dialog.c                |    2 +-
 control-center/provider-config.c                   |    2 +-
 libgda-ui/data-entries/common-bin.c                |    2 +-
 libgda-ui/data-entries/gdaui-entry-bin.c           |    2 +-
 libgda-ui/data-entries/gdaui-entry-boolean.c       |    2 +-
 libgda-ui/data-entries/gdaui-entry-common-time.c   |    4 ++--
 libgda-ui/data-entries/gdaui-entry-shell.c         |    2 +-
 libgda-ui/data-entries/plugins/common-pict.c       |    2 +-
 .../data-entries/plugins/gdaui-entry-filesel.c     |    2 +-
 libgda-ui/demos/cloud.c                            |    4 ++--
 libgda-ui/demos/combo.c                            |    4 ++--
 libgda-ui/demos/main.c                             |    2 +-
 libgda-ui/gdaui-basic-form.c                       |    6 +++---
 libgda-ui/gdaui-cloud.c                            |    2 +-
 libgda-ui/gdaui-data-proxy-info.c                  |    4 ++--
 libgda-ui/gdaui-data-proxy-info.h                  |    4 ++--
 libgda-ui/gdaui-raw-grid.c                         |    4 ++--
 libgda-ui/gdaui-server-operation.c                 |    2 +-
 testing/gdaui-test-widget-entry.c                  |    2 +-
 tools/browser/auth-dialog.c                        |    4 ++--
 tools/browser/browser-connections-list.c           |    2 +-
 tools/browser/browser-window.c                     |    2 +-
 tools/browser/canvas/browser-canvas-print.c        |    4 ++--
 tools/browser/common/gdaui-data-import.c           |    6 +++---
 tools/browser/common/gdaui-entry-import.c          |    2 +-
 tools/browser/common/objects-cloud.c               |    2 +-
 tools/browser/common/ui-formgrid.c                 |    2 +-
 tools/browser/connection-binding-properties.c      |    6 +++---
 tools/browser/data-manager/data-console.c          |    6 +++---
 .../browser/data-manager/data-favorite-selector.c  |    2 +-
 tools/browser/data-manager/data-source-editor.c    |    2 +-
 tools/browser/data-manager/data-widget.c           |    2 +-
 .../browser/ldap-browser/ldap-favorite-selector.c  |    2 +-
 tools/browser/ldap-browser/ldap-search-page.c      |    2 +-
 tools/browser/login-dialog.c                       |    4 ++--
 tools/browser/query-exec/query-console-page.c      |    2 +-
 tools/browser/query-exec/query-favorite-selector.c |    2 +-
 tools/browser/query-exec/query-result.c            |    4 ++--
 tools/browser/schema-browser/objects-index.c       |    2 +-
 tools/browser/schema-browser/relations-diagram.c   |    4 ++--
 tools/browser/schema-browser/table-info.c          |    2 +-
 tools/browser/support.c                            |    4 ++--
 tools/browser/text-search.c                        |    2 +-
 tools/browser/text-search.h                        |    2 +-
 48 files changed, 69 insertions(+), 69 deletions(-)
---
diff --git a/control-center/cc-gray-bar.c b/control-center/cc-gray-bar.c
index 632be8c..7b78a19 100644
--- a/control-center/cc-gray-bar.c
+++ b/control-center/cc-gray-bar.c
@@ -272,7 +272,7 @@ cc_gray_bar_init (CcGrayBar *bar, G_GNUC_UNUSED CcGrayBarClass *klass)
 
 	bar->priv = g_new0 (CcGrayBarPrivate, 1);
 
-	bar->priv->hbox = gtk_hbox_new (FALSE, 6);
+	bar->priv->hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
 	gtk_container_set_border_width (GTK_CONTAINER (bar->priv->hbox), 6);
 
 	bar->priv->show_icon = FALSE;
diff --git a/control-center/cc-utility.c b/control-center/cc-utility.c
index e047780..c387a9d 100644
--- a/control-center/cc-utility.c
+++ b/control-center/cc-utility.c
@@ -49,11 +49,11 @@ cc_new_vbox_widget (gboolean homogenous, gint spacing)
 }
 
 GtkWidget *
-cc_new_hbox_widget (gboolean homogenous, gint spacing)
+cc_new_hbox_widget (gint spacing)
 {
 	GtkWidget *hbox;
 
-	hbox = gtk_hbox_new (homogenous, spacing);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, spacing);
 	gtk_widget_show (hbox);
 
 	return hbox;
diff --git a/control-center/dsn-config.c b/control-center/dsn-config.c
index dbfea09..de0ce3d 100644
--- a/control-center/dsn-config.c
+++ b/control-center/dsn-config.c
@@ -153,7 +153,7 @@ dsn_config_new (void)
 			  G_CALLBACK (list_popup_cb), dsn);
 
 	/* add tip */
-	box = gtk_hbox_new (FALSE, 6);
+	box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
         gtk_container_set_border_width (GTK_CONTAINER (box), 6);
 	gtk_box_pack_start (GTK_BOX (dsn), box, FALSE, FALSE, 0);
 	gtk_widget_show (box);
diff --git a/control-center/dsn-properties-dialog.c b/control-center/dsn-properties-dialog.c
index dba1a02..22357b3 100644
--- a/control-center/dsn-properties-dialog.c
+++ b/control-center/dsn-properties-dialog.c
@@ -162,7 +162,7 @@ dsn_properties_dialog (GtkWindow *parent, const gchar *dsn)
 	gtk_box_pack_start (GTK_BOX (dcontents), label, FALSE, FALSE, 0);
 	gtk_widget_show (label);
 
-	hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
         gtk_box_pack_start (GTK_BOX (dcontents), hbox, FALSE, FALSE, 10);
         gtk_widget_show (hbox);
         label = gtk_label_new ("    ");
diff --git a/control-center/gdaui-login-dialog.c b/control-center/gdaui-login-dialog.c
index f27cc7e..5b1862f 100644
--- a/control-center/gdaui-login-dialog.c
+++ b/control-center/gdaui-login-dialog.c
@@ -110,7 +110,7 @@ gdaui_login_dialog_init (GdauiLoginDialog *dialog, G_GNUC_UNUSED GdauiLoginDialo
         gtk_box_set_spacing (GTK_BOX (dcontents), 12);
         gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
 
-	hbox = gtk_hbox_new (FALSE, 12);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
 	gtk_container_set_border_width (GTK_CONTAINER (hbox), 6);
 	gtk_widget_show (hbox);
 	gtk_box_pack_start (GTK_BOX (dcontents), hbox, TRUE, TRUE, 0);
diff --git a/control-center/provider-config.c b/control-center/provider-config.c
index 102d567..5172c83 100644
--- a/control-center/provider-config.c
+++ b/control-center/provider-config.c
@@ -86,7 +86,7 @@ provider_config_new (void)
 	gtk_widget_show_all (sw);
 
 	/* add tip */
-	box = gtk_hbox_new (FALSE, 6);
+	box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
 	gtk_widget_show (box);
         gtk_container_set_border_width (GTK_CONTAINER (box), 6);
 	gtk_box_pack_start (GTK_BOX (provider), box, FALSE, FALSE, 0);
diff --git a/libgda-ui/data-entries/common-bin.c b/libgda-ui/data-entries/common-bin.c
index e53733c..9df4ec9 100644
--- a/libgda-ui/data-entries/common-bin.c
+++ b/libgda-ui/data-entries/common-bin.c
@@ -198,7 +198,7 @@ common_bin_create_menu (BinMenu *binmenu, PopupContainerPositionFunc pos_func, G
 	gtk_misc_set_alignment (GTK_MISC (label), 0., -1);
 	gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 
-	hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
         gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 5);
         gtk_widget_show (hbox);
         label = gtk_label_new ("    ");
diff --git a/libgda-ui/data-entries/gdaui-entry-bin.c b/libgda-ui/data-entries/gdaui-entry-bin.c
index 10bb661..a7cb468 100644
--- a/libgda-ui/data-entries/gdaui-entry-bin.c
+++ b/libgda-ui/data-entries/gdaui-entry-bin.c
@@ -234,7 +234,7 @@ create_entry (GdauiEntryWrapper *mgwrap)
 	button = gtk_button_new ();
 	dbin->priv->button = button;
 
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
         gtk_container_add (GTK_CONTAINER (button), hbox);
 	dbin->priv->button_hbox = hbox;
 
diff --git a/libgda-ui/data-entries/gdaui-entry-boolean.c b/libgda-ui/data-entries/gdaui-entry-boolean.c
index 3178626..68cd447 100644
--- a/libgda-ui/data-entries/gdaui-entry-boolean.c
+++ b/libgda-ui/data-entries/gdaui-entry-boolean.c
@@ -171,7 +171,7 @@ create_entry (GdauiEntryWrapper *mgwrap)
 	mgbool = GDAUI_ENTRY_BOOLEAN (mgwrap);
 	g_return_val_if_fail (mgbool->priv, NULL);
 
-	hbox = gtk_hbox_new (FALSE, 5);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
 	mgbool->priv->hbox = hbox;
 
 	cb = gtk_check_button_new ();
diff --git a/libgda-ui/data-entries/gdaui-entry-common-time.c b/libgda-ui/data-entries/gdaui-entry-common-time.c
index 1a14a17..e17df82 100644
--- a/libgda-ui/data-entries/gdaui-entry-common-time.c
+++ b/libgda-ui/data-entries/gdaui-entry-common-time.c
@@ -564,7 +564,7 @@ create_entry_date (GdauiEntryCommonTime *mgtim)
 	GdaDataHandler *dh;
 
 	/* top widget */
-	hb = gtk_hbox_new (FALSE, 3);
+	hb = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
 
 	/* text entry */
 	dh = gdaui_data_entry_get_handler (GDAUI_DATA_ENTRY (mgtim));
@@ -1075,7 +1075,7 @@ create_entry_ts (GdauiEntryCommonTime *mgtim)
 {
 	GtkWidget *hb, *wid;
 
-	hb = gtk_hbox_new (FALSE, 0);
+	hb = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	
 	/* date part */
 	wid = create_entry_date (mgtim);
diff --git a/libgda-ui/data-entries/gdaui-entry-shell.c b/libgda-ui/data-entries/gdaui-entry-shell.c
index c6f1357..2c74d64 100644
--- a/libgda-ui/data-entries/gdaui-entry-shell.c
+++ b/libgda-ui/data-entries/gdaui-entry-shell.c
@@ -160,7 +160,7 @@ gdaui_entry_shell_init (GdauiEntryShell * shell)
 	gtk_container_set_border_width (GTK_CONTAINER (shell), 0);
 
 	/* hbox */
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_container_add (GTK_CONTAINER (shell), hbox);
 	gtk_widget_show (hbox);
 	shell->priv->hbox = hbox;
diff --git a/libgda-ui/data-entries/plugins/common-pict.c b/libgda-ui/data-entries/plugins/common-pict.c
index f85696b..15faebd 100644
--- a/libgda-ui/data-entries/plugins/common-pict.c
+++ b/libgda-ui/data-entries/plugins/common-pict.c
@@ -459,7 +459,7 @@ file_save_cb (GtkWidget *button, PictMenuData *menudata)
 
 	/* determine writable formats */
 	expander = gtk_expander_new (_("Image format"));
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_container_add (GTK_CONTAINER (expander), hbox);
 
 	label = gtk_label_new (_("Format image as:"));
diff --git a/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c b/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c
index 48154da..5e79952 100644
--- a/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c
+++ b/libgda-ui/data-entries/plugins/gdaui-entry-filesel.c
@@ -226,7 +226,7 @@ create_entry (GdauiEntryWrapper *mgwrap)
 	filesel = GDAUI_ENTRY_FILESEL (mgwrap);
 	g_return_val_if_fail (filesel->priv, NULL);
 
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 
 	wid = gtk_entry_new ();
 	gtk_box_pack_start (GTK_BOX (hbox), wid, TRUE, TRUE, 0);
diff --git a/libgda-ui/demos/cloud.c b/libgda-ui/demos/cloud.c
index 8dbd4aa..87c47a6 100644
--- a/libgda-ui/demos/cloud.c
+++ b/libgda-ui/demos/cloud.c
@@ -156,14 +156,14 @@ do_cloud (GtkWidget *do_widget)
 		label = gtk_label_new ("Selection forcing:");
 		gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 
-		hbox = gtk_hbox_new (FALSE, 0);
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 		gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
 		label = gtk_label_new ("row number:");
 		gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
 		entry = gtk_entry_new ();
 		gtk_box_pack_start (GTK_BOX (hbox), entry, FALSE, FALSE, 0);
 
-		hbox = gtk_hbox_new (FALSE, 0);
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 		gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);		
 		button = gtk_button_new_with_label ("Force select");
 		gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
diff --git a/libgda-ui/demos/combo.c b/libgda-ui/demos/combo.c
index cbf1c8c..a404ab2 100644
--- a/libgda-ui/demos/combo.c
+++ b/libgda-ui/demos/combo.c
@@ -157,14 +157,14 @@ do_combo (GtkWidget *do_widget)
 		gtk_misc_set_alignment (GTK_MISC (label), 0., -1);
 		gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 
-		hbox = gtk_hbox_new (FALSE, 0);
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 		gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
 		label = gtk_label_new ("row number:");
 		gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
 		entry = gtk_entry_new ();
 		gtk_box_pack_start (GTK_BOX (hbox), entry, FALSE, FALSE, 0);
 
-		hbox = gtk_hbox_new (FALSE, 0);
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 		gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);		
 		button = gtk_button_new_with_label ("Force select");
 		gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
diff --git a/libgda-ui/demos/main.c b/libgda-ui/demos/main.c
index 39f7dbb..5577000 100644
--- a/libgda-ui/demos/main.c
+++ b/libgda-ui/demos/main.c
@@ -801,7 +801,7 @@ main (int argc, char **argv)
 	g_signal_connect (window, "destroy",
 			  G_CALLBACK (gtk_main_quit), NULL);
 
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_container_add (GTK_CONTAINER (window), hbox);
 
 	tree = create_tree ();
diff --git a/libgda-ui/gdaui-basic-form.c b/libgda-ui/gdaui-basic-form.c
index a461803..cc7bb10 100644
--- a/libgda-ui/gdaui-basic-form.c
+++ b/libgda-ui/gdaui-basic-form.c
@@ -1244,7 +1244,7 @@ load_xml_layout_children (GdauiBasicForm *form, xmlNodePtr parent_node)
 	prop = xmlGetProp (parent_node, BAD_CAST "container");
 	if (prop) {
 		if (xmlStrEqual (prop, BAD_CAST "columns")) {
-			top = gtk_hbox_new (FALSE, 0);
+			top = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 			ctype = TOP_BOX;
 		}
 		if (xmlStrEqual (prop, BAD_CAST "rows")) {
@@ -1264,7 +1264,7 @@ load_xml_layout_children (GdauiBasicForm *form, xmlNodePtr parent_node)
 		xmlFree (prop);
 	}
 	if (!top)
-		top = gtk_hbox_new (FALSE, 0);
+		top = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 
 	xmlNodePtr child;
 	for (child = parent_node->children; child; child = child->next) {
@@ -1402,7 +1402,7 @@ load_xml_layout_section (GdauiBasicForm *form, xmlNodePtr section_node)
 	xmlChar *title;
 	GtkWidget *hbox, *label, *sub, *retval;
 
-	hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 	title = xmlGetProp (section_node, BAD_CAST "title");
 	if (title) {
 		gchar *str;
diff --git a/libgda-ui/gdaui-cloud.c b/libgda-ui/gdaui-cloud.c
index 251f28c..37a67cd 100644
--- a/libgda-ui/gdaui-cloud.c
+++ b/libgda-ui/gdaui-cloud.c
@@ -1062,7 +1062,7 @@ gdaui_cloud_create_filter_widget (GdauiCloud *cloud)
 	GtkWidget *hbox, *label, *wid;
 	g_return_val_if_fail (GDAUI_IS_CLOUD (cloud), NULL);
 	
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 
 	label = gtk_label_new (_("Find:"));
 	gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
diff --git a/libgda-ui/gdaui-data-proxy-info.c b/libgda-ui/gdaui-data-proxy-info.c
index ac59093..ab6d820 100644
--- a/libgda-ui/gdaui-data-proxy-info.c
+++ b/libgda-ui/gdaui-data-proxy-info.c
@@ -95,7 +95,7 @@ gdaui_data_proxy_info_get_type (void)
 			0
 		};
 
-		type = g_type_register_static (GTK_TYPE_HBOX, "GdauiDataProxyInfo", &info, 0);
+		type = g_type_register_static (GTK_TYPE_BOX, "GdauiDataProxyInfo", &info, 0);
 	}
 
 	return type;
@@ -459,7 +459,7 @@ modif_buttons_make (GdauiDataProxyInfo *info)
 	if (flags & GDAUI_DATA_PROXY_INFO_CURRENT_ROW) {
 		GtkWidget *toolwid;
 		if (flags & GDAUI_DATA_PROXY_INFO_ROW_MOVE_BUTTONS) {
-			toolwid = gtk_hbox_new (FALSE, 0);
+			toolwid = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 
 			/* read-write spin counter (mainly for forms) */
 			wid = gtk_spin_button_new_with_range (0, 1, 1);
diff --git a/libgda-ui/gdaui-data-proxy-info.h b/libgda-ui/gdaui-data-proxy-info.h
index f893d85..cce9664 100644
--- a/libgda-ui/gdaui-data-proxy-info.h
+++ b/libgda-ui/gdaui-data-proxy-info.h
@@ -58,7 +58,7 @@ typedef enum
 /* struct for the object's data */
 struct _GdauiDataProxyInfo
 {
-	GtkHBox                 object;
+	GtkBox                 object;
 
 	GdauiDataProxyInfoPriv *priv;
 };
@@ -66,7 +66,7 @@ struct _GdauiDataProxyInfo
 /* struct for the object's class */
 struct _GdauiDataProxyInfoClass
 {
-	GtkHBoxClass            parent_class;
+	GtkBoxClass            parent_class;
 };
 
 /**
diff --git a/libgda-ui/gdaui-raw-grid.c b/libgda-ui/gdaui-raw-grid.c
index 687d5e3..a513bcc 100644
--- a/libgda-ui/gdaui-raw-grid.c
+++ b/libgda-ui/gdaui-raw-grid.c
@@ -2052,7 +2052,7 @@ menu_save_as_cb (G_GNUC_UNUSED GtkWidget *widget, GdauiRawGrid *grid)
 	g_free (str);
 	gtk_box_pack_start (GTK_BOX (dbox), label, FALSE, TRUE, 2);
 
-	hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 	gtk_box_pack_start (GTK_BOX (dbox), hbox, FALSE, FALSE, 5);
 	gtk_widget_show (hbox);
 	label = gtk_label_new ("    ");
@@ -2073,7 +2073,7 @@ menu_save_as_cb (G_GNUC_UNUSED GtkWidget *widget, GdauiRawGrid *grid)
 	g_free (str);
 	gtk_box_pack_start (GTK_BOX (dbox), label, FALSE, TRUE, 2);
 
-	hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 	gtk_box_pack_start (GTK_BOX (dbox), hbox, FALSE, FALSE, 5);
 	gtk_widget_show (hbox);
 	label = gtk_label_new ("    ");
diff --git a/libgda-ui/gdaui-server-operation.c b/libgda-ui/gdaui-server-operation.c
index 168eff2..ddaa74b 100644
--- a/libgda-ui/gdaui-server-operation.c
+++ b/libgda-ui/gdaui-server-operation.c
@@ -767,7 +767,7 @@ gdaui_server_operation_fill (GdauiServerOperation *form)
 				gtk_label_set_markup (GTK_LABEL (label), section_str);
 				g_free (section_str);
 
-				hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+				hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 				gtk_widget_show (hbox);
 				lab = gtk_label_new ("    ");
 				gtk_box_pack_start (GTK_BOX (hbox), lab, FALSE, FALSE, 0);
diff --git a/testing/gdaui-test-widget-entry.c b/testing/gdaui-test-widget-entry.c
index 8137a60..9af73db 100644
--- a/testing/gdaui-test-widget-entry.c
+++ b/testing/gdaui-test-widget-entry.c
@@ -127,7 +127,7 @@ main (int argc, char* argv[])
 	g_signal_connect(G_OBJECT(window), "destroy", G_CALLBACK(gtk_main_quit), NULL);
 	gtk_container_add(GTK_CONTAINER(window), top_vbox);
 
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (top_vbox), hbox, FALSE, FALSE, 0);
 
 	/*
diff --git a/tools/browser/auth-dialog.c b/tools/browser/auth-dialog.c
index e3434f7..3ee4873 100644
--- a/tools/browser/auth-dialog.c
+++ b/tools/browser/auth-dialog.c
@@ -216,7 +216,7 @@ auth_dialog_init (AuthDialog *dialog)
 	g_free (str);
 
 	/* label and spinner */
-	hbox = gtk_hbox_new (FALSE, 0); 
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); 
 	gtk_container_set_border_width (GTK_CONTAINER (hbox), 10);
 	gtk_box_pack_start (GTK_BOX (dcontents), hbox, FALSE, FALSE, 0);
 	
@@ -537,7 +537,7 @@ auth_dialog_add_cnc_string (AuthDialog *dialog, const gchar *cnc_string, GError
 		gtk_box_pack_start (GTK_BOX (dcontents), label, FALSE, FALSE, 0);
 		gtk_widget_show (label);
 
-		hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 		gtk_box_pack_start (GTK_BOX (dcontents), hbox, TRUE, TRUE, 0);
 		label = gtk_label_new ("      ");
 		gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
diff --git a/tools/browser/browser-connections-list.c b/tools/browser/browser-connections-list.c
index c91ed44..dc339d5 100644
--- a/tools/browser/browser-connections-list.c
+++ b/tools/browser/browser-connections-list.c
@@ -342,7 +342,7 @@ browser_connections_list_show (BrowserConnection *current)
 
 		/* image and explaining label */
 		GtkWidget *hbox;
-		hbox = gtk_hbox_new (FALSE, 6);
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
 		gtk_table_attach (GTK_TABLE (table), hbox, 0, 3, 0, 1, GTK_EXPAND | GTK_FILL, 0, 0, 6);
 
 		str = gda_gbr_get_file_path (GDA_DATA_DIR, LIBGDA_ABI_NAME, "pixmaps", "gda-browser-connected-big.png", NULL);
diff --git a/tools/browser/browser-window.c b/tools/browser/browser-window.c
index b4faa88..31c2f20 100644
--- a/tools/browser/browser-window.c
+++ b/tools/browser/browser-window.c
@@ -1587,7 +1587,7 @@ browser_window_show_notice (BrowserWindow *bwin, GtkMessageType type, const gcha
 		content_area = gtk_info_bar_get_content_area (GTK_INFO_BAR (ibar));
 		if (cb) {
 			GtkWidget *box;
-			box = gtk_hbox_new (FALSE, 0);
+			box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 			gtk_box_pack_start (GTK_BOX (box), label, TRUE, TRUE, 0);
 			gtk_box_pack_start (GTK_BOX (box), cb, FALSE, FALSE, 0);
 			gtk_container_add (GTK_CONTAINER (content_area), box);
diff --git a/tools/browser/canvas/browser-canvas-print.c b/tools/browser/canvas/browser-canvas-print.c
index b8c96db..f9f3fb4 100644
--- a/tools/browser/canvas/browser-canvas-print.c
+++ b/tools/browser/canvas/browser-canvas-print.c
@@ -244,7 +244,7 @@ print_create_custom_widget_cb (G_GNUC_UNUSED GtkPrintOperation *operation, Print
 	gtk_misc_set_alignment (GTK_MISC (label), 0., 0.5);
 	gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 10);
 
-	hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
         gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
         label = gtk_label_new ("    ");
         gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
@@ -295,7 +295,7 @@ print_create_custom_widget_cb (G_GNUC_UNUSED GtkPrintOperation *operation, Print
 	gtk_misc_set_alignment (GTK_MISC (label), 0., 0.5);
 	gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 10);
 
-	hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
         gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
         label = gtk_label_new ("    ");
         gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
diff --git a/tools/browser/common/gdaui-data-import.c b/tools/browser/common/gdaui-data-import.c
index fa929cc..4cb7b05 100644
--- a/tools/browser/common/gdaui-data-import.c
+++ b/tools/browser/common/gdaui-data-import.c
@@ -122,7 +122,7 @@ gdaui_data_import_init (GdauiDataImport * import)
         g_free (str);
         gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 
-        hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+        hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
         gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
         gtk_widget_show (hbox);
         label = gtk_label_new ("    ");
@@ -237,7 +237,7 @@ gdaui_data_import_init (GdauiDataImport * import)
 	g_signal_connect (G_OBJECT (entry), "toggled",
 			  G_CALLBACK (spec_changed_cb), import);
 
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_table_attach (GTK_TABLE (table), hbox, 2, 3, 5, 6, GTK_FILL, 0, 0, 0);
 	entry = gtk_radio_button_new_with_label_from_widget (GTK_RADIO_BUTTON (entry), _("Other:"));
 	import->priv->sep_array [SEP_OTHER] = entry;
@@ -270,7 +270,7 @@ gdaui_data_import_init (GdauiDataImport * import)
         g_free (str);
         gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 
-        hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+        hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 	import->priv->preview_box = hbox;
 
         gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
diff --git a/tools/browser/common/gdaui-entry-import.c b/tools/browser/common/gdaui-entry-import.c
index c863ea4..cc7c8b2 100644
--- a/tools/browser/common/gdaui-entry-import.c
+++ b/tools/browser/common/gdaui-entry-import.c
@@ -242,7 +242,7 @@ create_entry (GdauiEntryWrapper *mgwrap)
 	mgtxt = GDAUI_ENTRY_IMPORT (mgwrap);
 	g_return_val_if_fail (mgtxt->priv, NULL);
 
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 
 	mgtxt->priv->label = GTK_LABEL (gtk_label_new (_("No data set")));
 	gtk_misc_get_alignment (GTK_MISC (mgtxt->priv->label), NULL, &ya);
diff --git a/tools/browser/common/objects-cloud.c b/tools/browser/common/objects-cloud.c
index c81f0d8..fa609ae 100644
--- a/tools/browser/common/objects-cloud.c
+++ b/tools/browser/common/objects-cloud.c
@@ -450,7 +450,7 @@ objects_cloud_create_filter (ObjectsCloud *cloud)
 	GtkWidget *hbox, *label, *wid;
 	g_return_val_if_fail (IS_OBJECTS_CLOUD (cloud), NULL);
 	
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 
 	label = gtk_label_new (_("Find:"));
 	gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
diff --git a/tools/browser/common/ui-formgrid.c b/tools/browser/common/ui-formgrid.c
index 181775c..ba408c7 100644
--- a/tools/browser/common/ui-formgrid.c
+++ b/tools/browser/common/ui-formgrid.c
@@ -241,7 +241,7 @@ ui_formgrid_init (UiFormGrid *formgrid)
 			  G_CALLBACK (form_grid_populate_popup_cb), formgrid);
 
 	/* info widget and toggle button at last */
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (formgrid), hbox, FALSE, TRUE, 0);
 	gtk_widget_show (hbox);
 
diff --git a/tools/browser/connection-binding-properties.c b/tools/browser/connection-binding-properties.c
index bd610dd..f8ed411 100644
--- a/tools/browser/connection-binding-properties.c
+++ b/tools/browser/connection-binding-properties.c
@@ -221,7 +221,7 @@ create_layout (ConnectionBindingProperties *cprop)
 	g_free (str);
 	gtk_box_pack_start (GTK_BOX (dcontents), label, FALSE, FALSE, 0);
 
-	hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 	gtk_box_pack_start (GTK_BOX (dcontents), hbox, TRUE, TRUE, 0);
 	label = gtk_label_new ("      ");
 	gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
@@ -411,7 +411,7 @@ create_part_for_model (ConnectionBindingProperties *cprop, BrowserVirtualConnect
 	}
 
 	vbox = gtk_vbox_new (FALSE, 0);
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 5);
 
 	label = gtk_label_new ("");
@@ -518,7 +518,7 @@ create_part_for_cnc (ConnectionBindingProperties *cprop, BrowserVirtualConnectio
 	gchar *str;
 
 	vbox = gtk_vbox_new (FALSE, 0);
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 5);
 
 	label = gtk_label_new ("");
diff --git a/tools/browser/data-manager/data-console.c b/tools/browser/data-manager/data-console.c
index 8e47797..c7e68cd 100644
--- a/tools/browser/data-manager/data-console.c
+++ b/tools/browser/data-manager/data-console.c
@@ -292,7 +292,7 @@ data_console_new (BrowserConnection *bcnc)
         GtkWidget *hbox, *label, *wid;
 	gchar *str;
 
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (dconsole), hbox, FALSE, FALSE, 0);
 
 	str = g_strdup_printf ("<b>%s</b>\n%s", _("Data Manager"), _("Unsaved"));
@@ -358,7 +358,7 @@ data_console_new (BrowserConnection *bcnc)
 	vbox = gtk_vbox_new (FALSE, 0);
 	gtk_notebook_append_page (GTK_NOTEBOOK (dconsole->priv->main_notebook), vbox, NULL);
 
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 0);
 
 	nb = gtk_notebook_new ();
@@ -580,7 +580,7 @@ save_clicked_cb (GtkWidget *button, DataConsole *dconsole)
 		window = popup_container_new (button);
 		dconsole->priv->popup_container = window;
 
-		hbox = gtk_hbox_new (FALSE, 0);
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 		gtk_container_add (GTK_CONTAINER (window), hbox);
 		wid = gtk_label_new ("");
 		str = g_strdup_printf ("%s:", _("Data manager's name"));
diff --git a/tools/browser/data-manager/data-favorite-selector.c b/tools/browser/data-manager/data-favorite-selector.c
index 63dd1b2..bc1b702 100644
--- a/tools/browser/data-manager/data-favorite-selector.c
+++ b/tools/browser/data-manager/data-favorite-selector.c
@@ -290,7 +290,7 @@ properties_activated_cb (GtkMenuItem *mitem, DataFavoriteSelector *tsel)
 		gtk_misc_set_alignment (GTK_MISC (label), 0., -1);
 		gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 		
-		hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 		gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 5);
 		label = gtk_label_new ("      ");
 		gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
diff --git a/tools/browser/data-manager/data-source-editor.c b/tools/browser/data-manager/data-source-editor.c
index bcccb29..d0c8ff2 100644
--- a/tools/browser/data-manager/data-source-editor.c
+++ b/tools/browser/data-manager/data-source-editor.c
@@ -147,7 +147,7 @@ data_source_editor_init (DataSourceEditor *editor)
 #define SPACING 3
 	GtkWidget *hbox, *label, *sw, *text;
 	GtkSizeGroup *sg;
-	hbox = gtk_hbox_new (FALSE, SPACING);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, SPACING);
 	gtk_paned_add2 (GTK_PANED (vpaned), hbox);
 
 	label = gtk_label_new (_("Dependencies:"));
diff --git a/tools/browser/data-manager/data-widget.c b/tools/browser/data-manager/data-widget.c
index fd79b7f..5a580c8 100644
--- a/tools/browser/data-manager/data-widget.c
+++ b/tools/browser/data-manager/data-widget.c
@@ -215,7 +215,7 @@ create_or_reuse_part (DataWidget *dwid, DataSource *source, gboolean *out_reused
 	GtkWidget *header, *label, *button, *image;
 	const gchar *cstr;
 
-	header = gtk_hbox_new (FALSE, 0);
+	header = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (vbox), header, FALSE, FALSE, 0);
 
 	label = gtk_label_new ("");
diff --git a/tools/browser/ldap-browser/ldap-favorite-selector.c b/tools/browser/ldap-browser/ldap-favorite-selector.c
index a5a8496..f8986e7 100644
--- a/tools/browser/ldap-browser/ldap-favorite-selector.c
+++ b/tools/browser/ldap-browser/ldap-favorite-selector.c
@@ -285,7 +285,7 @@ properties_activated_cb (GtkMenuItem *mitem, LdapFavoriteSelector *fsel)
 		gtk_misc_set_alignment (GTK_MISC (label), 0., align);
 		gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 		
-		hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 		gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 5);
 		label = gtk_label_new ("      ");
 		gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
diff --git a/tools/browser/ldap-browser/ldap-search-page.c b/tools/browser/ldap-browser/ldap-search-page.c
index 0801910..ccc506b 100644
--- a/tools/browser/ldap-browser/ldap-search-page.c
+++ b/tools/browser/ldap-browser/ldap-search-page.c
@@ -299,7 +299,7 @@ ldap_search_page_new (BrowserConnection *bcnc, const gchar *base_dn)
 	gtk_misc_set_alignment (GTK_MISC (label), 0., ya);
 	gtk_box_pack_start (GTK_BOX (epage), label, FALSE, FALSE, 0);
 
-	hb = gtk_hbox_new (FALSE, 0);
+	hb = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (epage), hb, FALSE, FALSE, 3);
 
 	wid = filter_editor_new (bcnc);
diff --git a/tools/browser/login-dialog.c b/tools/browser/login-dialog.c
index 8e96e69..3ef32d8 100644
--- a/tools/browser/login-dialog.c
+++ b/tools/browser/login-dialog.c
@@ -124,7 +124,7 @@ login_dialog_init (LoginDialog *dialog)
 	g_free (str);
 
 	/* label and spinner */
-	hbox = gtk_hbox_new (FALSE, 0); 
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); 
 	gtk_container_set_border_width (GTK_CONTAINER (hbox), 10);
 	gtk_box_pack_start (GTK_BOX (dcontents), hbox, FALSE, FALSE, 0);
 	
@@ -148,7 +148,7 @@ login_dialog_init (LoginDialog *dialog)
 	gtk_container_add (GTK_CONTAINER (hbox), dialog->priv->spinner);
 
 	/* login (not shown) */
-	hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 	gtk_box_pack_start (GTK_BOX (dcontents), hbox, FALSE, FALSE, 10);
 	label = gtk_label_new ("    ");
 	gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
diff --git a/tools/browser/query-exec/query-console-page.c b/tools/browser/query-exec/query-console-page.c
index da64a02..9b85a10 100644
--- a/tools/browser/query-exec/query-console-page.c
+++ b/tools/browser/query-exec/query-console-page.c
@@ -300,7 +300,7 @@ query_console_page_new (BrowserConnection *bcnc)
 	/* top paned for the editor */
 	GtkWidget *wid, *vbox, *hbox, *bbox, *hpaned, *button;
 
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_paned_add1 (GTK_PANED (vpaned), hbox);
 
 	hpaned = gtk_hpaned_new ();
diff --git a/tools/browser/query-exec/query-favorite-selector.c b/tools/browser/query-exec/query-favorite-selector.c
index cd6370a..fa98194 100644
--- a/tools/browser/query-exec/query-favorite-selector.c
+++ b/tools/browser/query-exec/query-favorite-selector.c
@@ -338,7 +338,7 @@ properties_activated_cb (GtkMenuItem *mitem, QueryFavoriteSelector *tsel)
 		gtk_misc_set_alignment (GTK_MISC (label), 0., align);
 		gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 		
-		hbox = gtk_hbox_new (FALSE, 0); /* HIG */
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); /* HIG */
 		gtk_box_pack_start (GTK_BOX (vbox), hbox, TRUE, TRUE, 5);
 		label = gtk_label_new ("      ");
 		gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
diff --git a/tools/browser/query-exec/query-result.c b/tools/browser/query-exec/query-result.c
index 29b0fd7..3d058f4 100644
--- a/tools/browser/query-exec/query-result.c
+++ b/tools/browser/query-exec/query-result.c
@@ -357,7 +357,7 @@ static GtkWidget *
 make_widget_for_set (GdaSet *set)
 {
 	GtkWidget *hbox, *img;
-	hbox = gtk_hbox_new (FALSE, 5);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
 	
 	img = gtk_image_new_from_stock (GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_DIALOG);
 	gtk_misc_set_alignment (GTK_MISC (img), 0., 0.);
@@ -409,7 +409,7 @@ static GtkWidget *
 make_widget_for_error (GError *error)
 {
 	GtkWidget *hbox, *img;
-	hbox = gtk_hbox_new (FALSE, 5);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
 	
 	img = gtk_image_new_from_stock (GTK_STOCK_DIALOG_ERROR, GTK_ICON_SIZE_DIALOG);
 	gtk_misc_set_alignment (GTK_MISC (img), 0., 0.);
diff --git a/tools/browser/schema-browser/objects-index.c b/tools/browser/schema-browser/objects-index.c
index 3b4ded3..92a7a5d 100644
--- a/tools/browser/schema-browser/objects-index.c
+++ b/tools/browser/schema-browser/objects-index.c
@@ -159,7 +159,7 @@ objects_index_new (BrowserConnection *bcnc)
 
 	/* header */
 	GtkWidget *hbox, *wid;
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (index), hbox, FALSE, FALSE, 0);
 
 	GtkWidget *label;
diff --git a/tools/browser/schema-browser/relations-diagram.c b/tools/browser/schema-browser/relations-diagram.c
index c507482..2f6d1a0 100644
--- a/tools/browser/schema-browser/relations-diagram.c
+++ b/tools/browser/schema-browser/relations-diagram.c
@@ -258,7 +258,7 @@ save_clicked_cb (GtkWidget *button, RelationsDiagram *diagram)
 		window = popup_container_new (button);
 		diagram->priv->popup_container = window;
 
-		hbox = gtk_hbox_new (FALSE, 0);
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 		gtk_container_add (GTK_CONTAINER (window), hbox);
 		wid = gtk_label_new ("");
 		str = g_strdup_printf ("%s:", _("Canvas's name"));
@@ -317,7 +317,7 @@ relations_diagram_new (BrowserConnection *bcnc)
 
 	/* header */
 	GtkWidget *hbox, *wid;
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (diagram), hbox, FALSE, FALSE, 0);
 
         GtkWidget *label;
diff --git a/tools/browser/schema-browser/table-info.c b/tools/browser/schema-browser/table-info.c
index 7d7a5db..e9d5443 100644
--- a/tools/browser/schema-browser/table-info.c
+++ b/tools/browser/schema-browser/table-info.c
@@ -347,7 +347,7 @@ table_info_new (BrowserConnection *bcnc,
 	/* "table not found" error page */
 	GtkWidget *image, *hbox;
 
-	hbox = gtk_hbox_new (FALSE, 0);
+	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 	gtk_box_pack_start (GTK_BOX (hbox), gtk_label_new (""), TRUE, TRUE, 0);
 	image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING, GTK_ICON_SIZE_DIALOG);
 	gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 10);
diff --git a/tools/browser/support.c b/tools/browser/support.c
index 8d242b0..bb47b01 100644
--- a/tools/browser/support.c
+++ b/tools/browser/support.c
@@ -300,7 +300,7 @@ _browser_make_tab_label (const gchar *label,
 				     "widget \"*.browser-tab-close-button\" style \"browser-tab-close-button-style\"");
 	}
 
-        hbox = gtk_hbox_new (FALSE, 4);
+        hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
 
 	if (img)
 		gtk_box_pack_start (GTK_BOX (hbox), img, FALSE, FALSE, 0);
@@ -560,7 +560,7 @@ browser_make_small_button (gboolean is_toggle, gboolean with_arrow,
 	else
 		button = gtk_button_new ();
 	if ((label && stock_id) || with_arrow) {
-		hbox = gtk_hbox_new (FALSE, 0);
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 		gtk_container_add (GTK_CONTAINER (button), hbox);
 		gtk_widget_show (hbox);
 	}
diff --git a/tools/browser/text-search.c b/tools/browser/text-search.c
index b8f150a..4a88192 100644
--- a/tools/browser/text-search.c
+++ b/tools/browser/text-search.c
@@ -100,7 +100,7 @@ text_search_get_type (void)
 			0
 		};
 
-		type = g_type_register_static (GTK_TYPE_HBOX, "TextSearch", &info, 0);
+		type = g_type_register_static (GTK_TYPE_BOX, "TextSearch", &info, 0);
 	}
 	return type;
 }
diff --git a/tools/browser/text-search.h b/tools/browser/text-search.h
index 001e0c8..f07eb72 100644
--- a/tools/browser/text-search.h
+++ b/tools/browser/text-search.h
@@ -35,7 +35,7 @@ typedef struct _TextSearchClass   TextSearchClass;
 typedef struct _TextSearchPrivate TextSearchPrivate;
 
 struct _TextSearch {
-	GtkHBox            parent;
+	GtkBox            parent;
 	TextSearchPrivate *priv;
 };
 



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