diff options
author | Timm Bäder <mail@baedert.org> | 2017-04-21 18:59:59 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-04-25 20:30:37 +0200 |
commit | 5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 (patch) | |
tree | ddda46f8b6c07a999ee9b844ec3a9c863b55a850 /tests/testexpander.c | |
parent | 8f4c0bea6558dc98a2abd7e63436b1ce4caf689e (diff) | |
download | gtk+-5729ea7744c2a41ae8fb833db6690a6aa5ad7a84.tar.gz |
box: Remove expand child property
GtkWidget already has hexpand/vexpand properties.
Diffstat (limited to 'tests/testexpander.c')
-rw-r--r-- | tests/testexpander.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testexpander.c b/tests/testexpander.c index 6852b2975c..d7e1126525 100644 --- a/tests/testexpander.c +++ b/tests/testexpander.c @@ -72,7 +72,9 @@ main (int argc, char *argv[]) "resize the window. Do it already !", -1); gtk_container_add (GTK_CONTAINER (sw), tv); gtk_container_add (GTK_CONTAINER (expander), sw); - gtk_box_pack_end (GTK_BOX (area), expander, TRUE, TRUE); + gtk_widget_set_hexpand (expander, TRUE); + gtk_widget_set_vexpand (expander, TRUE); + gtk_box_pack_end (GTK_BOX (area), expander, TRUE); g_signal_connect (expander, "notify::expanded", G_CALLBACK (expander_cb), dialog); |