summaryrefslogtreecommitdiff
path: root/tests/testgiconpixbuf.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-04-21 18:59:59 +0200
committerTimm Bäder <mail@baedert.org>2017-04-25 20:30:37 +0200
commit5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 (patch)
treeddda46f8b6c07a999ee9b844ec3a9c863b55a850 /tests/testgiconpixbuf.c
parent8f4c0bea6558dc98a2abd7e63436b1ce4caf689e (diff)
downloadgtk+-5729ea7744c2a41ae8fb833db6690a6aa5ad7a84.tar.gz
box: Remove expand child property
GtkWidget already has hexpand/vexpand properties.
Diffstat (limited to 'tests/testgiconpixbuf.c')
-rw-r--r--tests/testgiconpixbuf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/testgiconpixbuf.c b/tests/testgiconpixbuf.c
index 9deb53300e..1d0b835805 100644
--- a/tests/testgiconpixbuf.c
+++ b/tests/testgiconpixbuf.c
@@ -36,30 +36,30 @@ main (int argc,
gtk_container_add (GTK_CONTAINER (toplevel), hbox);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
- gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE);
image = gtk_image_new_from_gicon (G_ICON (pixbuf), GTK_ICON_SIZE_DIALOG);
- gtk_box_pack_start (GTK_BOX (vbox), image, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), image, FALSE);
label = gtk_label_new (NULL);
str = g_strdup_printf ("Normal icon, hash %u", g_icon_hash (G_ICON (pixbuf)));
gtk_label_set_label (GTK_LABEL (label), str);
- gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), label, FALSE);
otherpix = gdk_pixbuf_new_from_file ("gnome-textfile.png", NULL);
emblem = g_emblem_new (G_ICON (otherpix));
emblemed = g_emblemed_icon_new (G_ICON (pixbuf), emblem);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
- gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE);
image2 = gtk_image_new_from_gicon (emblemed, GTK_ICON_SIZE_DIALOG);
- gtk_box_pack_start (GTK_BOX (vbox), image2, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), image2, FALSE);
label = gtk_label_new (NULL);
str = g_strdup_printf ("Emblemed icon, hash %u", g_icon_hash (emblemed));
gtk_label_set_label (GTK_LABEL (label), str);
- gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), label, FALSE);
gtk_widget_show (toplevel);