summaryrefslogtreecommitdiff
path: root/ui/gtk/simple_dialog.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-04-21 16:40:14 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-04-21 16:40:14 +0000
commit03e3fdd79c3c64861fba9cc760c6b3ae1cb97fa3 (patch)
tree65b3461fea0558d21a3fb6acf25da0fd944efef5 /ui/gtk/simple_dialog.c
parent379bc6934cb74c168f6327473799673aec8d8699 (diff)
downloadwireshark-03e3fdd79c3c64861fba9cc760c6b3ae1cb97fa3.tar.gz
Replace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().
svn path=/trunk/; revision=42176
Diffstat (limited to 'ui/gtk/simple_dialog.c')
-rw-r--r--ui/gtk/simple_dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/simple_dialog.c b/ui/gtk/simple_dialog.c
index c18028f1ad..1fe043ef15 100644
--- a/ui/gtk/simple_dialog.c
+++ b/ui/gtk/simple_dialog.c
@@ -132,12 +132,12 @@ display_simple_dialog(gint type, gint btn_mask, char *message)
gtk_container_set_border_width(GTK_CONTAINER(win), 6);
/* Container for our rows */
- main_vb = gtk_vbox_new(FALSE, 12);
+ main_vb = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 12, FALSE);
gtk_container_add(GTK_CONTAINER(win), main_vb);
gtk_widget_show(main_vb);
/* Top row: Icon and message text */
- top_hb = gtk_hbox_new(FALSE, 12);
+ top_hb = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 12, FALSE);
gtk_container_set_border_width(GTK_CONTAINER(main_vb), 6);
gtk_container_add(GTK_CONTAINER(main_vb), top_hb);
gtk_widget_show(top_hb);
@@ -147,7 +147,7 @@ display_simple_dialog(gint type, gint btn_mask, char *message)
gtk_widget_show(type_pm);
/* column for message and optional check button */
- msg_vb = gtk_vbox_new(FALSE, 6);
+ msg_vb = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 6, FALSE);
gtk_box_set_spacing(GTK_BOX(msg_vb), 24);
gtk_container_add(GTK_CONTAINER(top_hb), msg_vb);
gtk_widget_show(msg_vb);