summaryrefslogtreecommitdiff
path: root/tests/testsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsocket.c')
-rw-r--r--tests/testsocket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testsocket.c b/tests/testsocket.c
index b8310fce64..3b44fd0bb8 100644
--- a/tests/testsocket.c
+++ b/tests/testsocket.c
@@ -97,7 +97,7 @@ create_socket (void)
Socket *socket = g_new (Socket, 1);
- socket->box = gtk_vbox_new (FALSE, 0);
+ socket->box = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 0);
socket->socket = gtk_socket_new ();
@@ -321,7 +321,7 @@ main (int argc, char *argv[])
gtk_window_set_title (GTK_WINDOW (window), "Socket Test");
gtk_container_set_border_width (GTK_CONTAINER (window), 0);
- vbox = gtk_vbox_new (FALSE, 0);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 0);
gtk_container_add (GTK_CONTAINER (window), vbox);
menubar = gtk_menu_bar_new ();
@@ -375,13 +375,13 @@ main (int argc, char *argv[])
G_CALLBACK (grab_window_toggled),
window);
- 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);
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, FALSE, 0);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
box = hbox;