diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-04-21 17:06:30 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-04-21 17:06:30 +0000 |
commit | 85118f92138b13a5306c54d234fbc1f2b54bc1f8 (patch) | |
tree | 3590572c6854b0502064fc2572edf030cb2489ed /ui/gtk/print_dlg.c | |
parent | 0a693fb2f61fe72908b6dd81c1decf9a10d1fb36 (diff) |
Replace gtk_vbox_new() and gtk_hbox_new() with ws_gtk_box_new().
svn path=/trunk/; revision=42178
Diffstat (limited to 'ui/gtk/print_dlg.c')
-rw-r--r-- | ui/gtk/print_dlg.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/gtk/print_dlg.c b/ui/gtk/print_dlg.c index 803cd6a55b..4a7ed9f0b6 100644 --- a/ui/gtk/print_dlg.c +++ b/ui/gtk/print_dlg.c @@ -526,7 +526,7 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args) main_win = dlg_window_new(title); /* Vertical enclosing container for each row of widgets */ - main_vb = gtk_vbox_new(FALSE, 5); + main_vb = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 5, FALSE); gtk_container_set_border_width(GTK_CONTAINER(main_vb), 5); gtk_container_add(GTK_CONTAINER(main_win), main_vb); gtk_widget_show(main_vb); @@ -537,7 +537,7 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args) printer_fr = gtk_frame_new(action == output_action_print ? "Printer" : "Export to file:"); gtk_box_pack_start(GTK_BOX(main_vb), printer_fr, FALSE, FALSE, 0); gtk_widget_show(printer_fr); - printer_vb = gtk_vbox_new(FALSE, 5); + printer_vb = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 5, FALSE); gtk_container_set_border_width(GTK_CONTAINER(printer_vb), 5); gtk_container_add(GTK_CONTAINER(printer_fr), printer_vb); gtk_widget_show(printer_vb); @@ -672,7 +672,7 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args) /*****************************************************/ /*** hor box for range and format frames ***/ - packet_hb = gtk_hbox_new(FALSE, 5); + packet_hb = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5, FALSE); gtk_container_add(GTK_CONTAINER(main_vb), packet_hb); gtk_widget_show(packet_hb); @@ -694,7 +694,7 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args) action == output_action_export_text || action == output_action_export_ps) gtk_widget_show(format_fr); - format_vb = gtk_vbox_new(FALSE, 5); + format_vb = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 5, FALSE); gtk_container_set_border_width(GTK_CONTAINER(format_vb), 5); gtk_container_add(GTK_CONTAINER(format_fr), format_vb); gtk_widget_show(format_vb); @@ -717,17 +717,17 @@ open_print_dialog(const char *title, output_action_e action, print_args_t *args) gtk_widget_show(details_cb); /*** packet details ***/ - details_hb = gtk_hbox_new(FALSE, 6); + details_hb = ws_gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6, FALSE); gtk_container_set_border_width(GTK_CONTAINER(details_hb), 0); gtk_container_add(GTK_CONTAINER(format_vb), details_hb); gtk_widget_show(details_hb); - details_vb = gtk_vbox_new(FALSE, 6); + details_vb = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 6, FALSE); gtk_container_set_border_width(GTK_CONTAINER(details_vb), 0); gtk_container_add(GTK_CONTAINER(details_hb), details_vb); gtk_widget_show(details_vb); - details_vb = gtk_vbox_new(FALSE, 6); + details_vb = ws_gtk_box_new(GTK_ORIENTATION_VERTICAL, 6, FALSE); gtk_container_set_border_width(GTK_CONTAINER(details_vb), 0); gtk_container_add(GTK_CONTAINER(details_hb), details_vb); gtk_widget_show(details_vb); |