summaryrefslogtreecommitdiff
path: root/tests/testellipsise.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/testellipsise.c
parent8f4c0bea6558dc98a2abd7e63436b1ce4caf689e (diff)
downloadgtk+-5729ea7744c2a41ae8fb833db6690a6aa5ad7a84.tar.gz
box: Remove expand child property
GtkWidget already has hexpand/vexpand properties.
Diffstat (limited to 'tests/testellipsise.c')
-rw-r--r--tests/testellipsise.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/testellipsise.c b/tests/testellipsise.c
index b2a9e8147d..273d3f65a9 100644
--- a/tests/testellipsise.c
+++ b/tests/testellipsise.c
@@ -155,11 +155,12 @@ main (int argc, char *argv[])
overlay = gtk_overlay_new ();
gtk_container_add (GTK_CONTAINER (overlay), da);
+ gtk_widget_set_vexpand (overlay, TRUE);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), label);
- gtk_box_pack_start (GTK_BOX (vbox), combo, FALSE, TRUE);
- gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, TRUE);
- gtk_box_pack_start (GTK_BOX (vbox), overlay, TRUE, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), combo, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), scale, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), overlay, TRUE);
g_object_set_data (G_OBJECT (label), "combo", combo);