summaryrefslogtreecommitdiff
path: root/tests/print-editor.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-10-30 05:00:32 +0200
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-10-30 17:37:03 +0900
commitc15ef6405c74fedcca53002de8135ae92c4d15e0 (patch)
tree54a831c12b97cbaa07cd45fc006d616368a8e496 /tests/print-editor.c
parentae1d1fd0489aa1ad89c2cebe5ddb5b58200c588a (diff)
downloadgtk+-c15ef6405c74fedcca53002de8135ae92c4d15e0.tar.gz
Use gtk_box_new() instead gtk_[v|h]box_new()
Diffstat (limited to 'tests/print-editor.c')
-rw-r--r--tests/print-editor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/print-editor.c b/tests/print-editor.c
index c4de8b7efa..228c19582b 100644
--- a/tests/print-editor.c
+++ b/tests/print-editor.c
@@ -399,10 +399,10 @@ create_custom_widget (GtkPrintOperation *operation,
GtkWidget *vbox, *hbox, *font, *label;
gtk_print_operation_set_custom_tab_label (operation, "Other");
- vbox = gtk_vbox_new (FALSE, 0);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
- hbox = gtk_hbox_new (FALSE, 8);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 8);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
@@ -566,9 +566,9 @@ preview_cb (GtkPrintOperation *op,
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_transient_for (GTK_WINDOW (window),
GTK_WINDOW (main_window));
- vbox = gtk_vbox_new (FALSE, 0);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 0);
gtk_container_add (GTK_CONTAINER (window), vbox);
- hbox = gtk_hbox_new (FALSE, 0);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), hbox,
FALSE, FALSE, 0);
page = gtk_spin_button_new_with_range (1, 100, 1);