summaryrefslogtreecommitdiff
path: root/plugins/gtk+/glade-tool-button-editor.c
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2012-04-28 13:53:53 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2012-04-28 13:56:00 -0300
commitc098f78522e0ee0d50114ab07bf55c9f890be018 (patch)
treeacc3c80a29968148a4e5987969aafdfd94e34763 /plugins/gtk+/glade-tool-button-editor.c
parent41b5ef80bcdab4d37c36c83d55db968963607b6c (diff)
downloadglade-c098f78522e0ee0d50114ab07bf55c9f890be018.tar.gz
Removed use of deprecated GtkHBox, GtkVBox and others
Diffstat (limited to 'plugins/gtk+/glade-tool-button-editor.c')
-rw-r--r--plugins/gtk+/glade-tool-button-editor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/gtk+/glade-tool-button-editor.c b/plugins/gtk+/glade-tool-button-editor.c
index 7703475b..9e612a2d 100644
--- a/plugins/gtk+/glade-tool-button-editor.c
+++ b/plugins/gtk+/glade-tool-button-editor.c
@@ -390,7 +390,7 @@ glade_tool_button_editor_new (GladeWidgetAdaptor * adaptor,
/* Standard label... */
eprop =
glade_widget_adaptor_create_eprop_by_name (adaptor, "label", FALSE, TRUE);
- hbox = gtk_hbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
button_editor->standard_label_radio = gtk_radio_button_new (NULL);
gtk_box_pack_start (GTK_BOX (hbox), button_editor->standard_label_radio,
FALSE, FALSE, 2);
@@ -403,7 +403,7 @@ glade_tool_button_editor_new (GladeWidgetAdaptor * adaptor,
eprop =
glade_widget_adaptor_create_eprop_by_name (adaptor, "label-widget", FALSE,
TRUE);
- hbox = gtk_hbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
button_editor->custom_label_radio = gtk_radio_button_new_from_widget
(GTK_RADIO_BUTTON (button_editor->standard_label_radio));
gtk_box_pack_start (GTK_BOX (hbox), button_editor->custom_label_radio, FALSE,
@@ -438,7 +438,7 @@ glade_tool_button_editor_new (GladeWidgetAdaptor * adaptor,
eprop =
glade_widget_adaptor_create_eprop_by_name (adaptor, "stock-id", FALSE,
TRUE);
- hbox = gtk_hbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
button_editor->stock_radio = gtk_radio_button_new (NULL);
gtk_box_pack_start (GTK_BOX (hbox), button_editor->stock_radio, FALSE, FALSE,
2);
@@ -451,7 +451,7 @@ glade_tool_button_editor_new (GladeWidgetAdaptor * adaptor,
eprop =
glade_widget_adaptor_create_eprop_by_name (adaptor, "icon-name", FALSE,
TRUE);
- hbox = gtk_hbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
button_editor->icon_radio = gtk_radio_button_new_from_widget
(GTK_RADIO_BUTTON (button_editor->stock_radio));
gtk_box_pack_start (GTK_BOX (hbox), button_editor->icon_radio, FALSE, FALSE,
@@ -465,7 +465,7 @@ glade_tool_button_editor_new (GladeWidgetAdaptor * adaptor,
eprop =
glade_widget_adaptor_create_eprop_by_name (adaptor, "icon-widget", FALSE,
TRUE);
- hbox = gtk_hbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
button_editor->custom_radio = gtk_radio_button_new_from_widget
(GTK_RADIO_BUTTON (button_editor->stock_radio));
gtk_box_pack_start (GTK_BOX (hbox), button_editor->custom_radio, FALSE, FALSE,