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/testsensitive.c | |
parent | 8f4c0bea6558dc98a2abd7e63436b1ce4caf689e (diff) | |
download | gtk+-5729ea7744c2a41ae8fb833db6690a6aa5ad7a84.tar.gz |
box: Remove expand child property
GtkWidget already has hexpand/vexpand properties.
Diffstat (limited to 'tests/testsensitive.c')
-rw-r--r-- | tests/testsensitive.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testsensitive.c b/tests/testsensitive.c index 4f4ccb7e33..663ce1e37c 100644 --- a/tests/testsensitive.c +++ b/tests/testsensitive.c @@ -65,15 +65,15 @@ int main (int argc, char *argv[]) gtk_container_add (GTK_CONTAINER (window), box); w = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 15); - gtk_box_pack_start (GTK_BOX (box), w, TRUE, TRUE); - gtk_box_pack_start (GTK_BOX (w), gtk_entry_new (), TRUE, TRUE); + gtk_box_pack_start (GTK_BOX (box), w, TRUE); + gtk_box_pack_start (GTK_BOX (w), gtk_entry_new (), TRUE); bu = gtk_button_new_with_label ("Bu"); - gtk_box_pack_start (GTK_BOX (w), bu, TRUE, TRUE); + gtk_box_pack_start (GTK_BOX (w), bu, TRUE); c = gtk_switch_new (); gtk_switch_set_active (GTK_SWITCH (c), TRUE); gtk_widget_set_halign (c, GTK_ALIGN_CENTER); gtk_widget_set_valign (c, GTK_ALIGN_CENTER); - gtk_box_pack_start (GTK_BOX (box), c, TRUE, TRUE); + gtk_box_pack_start (GTK_BOX (box), c, TRUE); g_signal_connect (bu, "clicked", G_CALLBACK (set_insensitive), w); g_signal_connect (bu, "state-flags-changed", G_CALLBACK (state_flags_changed), NULL); |