summaryrefslogtreecommitdiff
path: root/tests/testgiconpixbuf.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-11-05 17:01:34 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-11-08 11:31:01 +0900
commit99144330a0e1ba5219837a49f2057cfa73e06f62 (patch)
tree4da5a327743db916df252e55db49257287639649 /tests/testgiconpixbuf.c
parent1433ea24b573a713466a2ae3bdaa6655e549f5e5 (diff)
downloadgtk+-99144330a0e1ba5219837a49f2057cfa73e06f62.tar.gz
tests: fix the build
gtk_box_new() changed API recently.
Diffstat (limited to 'tests/testgiconpixbuf.c')
-rw-r--r--tests/testgiconpixbuf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testgiconpixbuf.c b/tests/testgiconpixbuf.c
index 2972b26d09..3acf306b06 100644
--- a/tests/testgiconpixbuf.c
+++ b/tests/testgiconpixbuf.c
@@ -34,10 +34,10 @@ main (int argc,
pixbuf = gdk_pixbuf_new_from_file ("apple-red.png", NULL);
toplevel = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12, FALSE);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
gtk_container_add (GTK_CONTAINER (toplevel), hbox);
- vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12, FALSE);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
image = gtk_image_new_from_gicon (G_ICON (pixbuf), GTK_ICON_SIZE_DIALOG);
@@ -52,7 +52,7 @@ main (int argc,
emblem = g_emblem_new (G_ICON (otherpix));
emblemed = g_emblemed_icon_new (G_ICON (pixbuf), emblem);
- vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12, FALSE);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
image2 = gtk_image_new_from_gicon (emblemed, GTK_ICON_SIZE_DIALOG);