summaryrefslogtreecommitdiff
path: root/tests/testtreecolumnsizing.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-04-21 22:34:36 +0200
committerTimm Bäder <mail@baedert.org>2017-04-25 20:30:37 +0200
commitc92b7d4224b9cef1d08373fcc28f7fbd96c64e6d (patch)
tree6eaa81528f6ec5152eccc475df7b4d8a769f3ea6 /tests/testtreecolumnsizing.c
parent5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 (diff)
downloadgtk+-c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d.tar.gz
box: Remove fill child property
GtkWidget:halign and GtkWidget:valign are sufficient
Diffstat (limited to 'tests/testtreecolumnsizing.c')
-rw-r--r--tests/testtreecolumnsizing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testtreecolumnsizing.c b/tests/testtreecolumnsizing.c
index 405415cb04..adf909d6fd 100644
--- a/tests/testtreecolumnsizing.c
+++ b/tests/testtreecolumnsizing.c
@@ -190,7 +190,7 @@ main (int argc, char **argv)
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo_box), BORDER_EXPAND);
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo_box), ALL_EXPAND);
- gtk_box_pack_start (GTK_BOX (vbox), combo_box, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), combo_box);
/* Scrolled window and tree view */
sw = gtk_scrolled_window_new (NULL, NULL);
@@ -198,7 +198,7 @@ main (int argc, char **argv)
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_widget_set_vexpand (sw, TRUE);
- gtk_box_pack_start (GTK_BOX (vbox), sw, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), sw);
tree_view = gtk_tree_view_new_with_model (create_model ());
gtk_container_add (GTK_CONTAINER (sw), tree_view);
@@ -221,7 +221,7 @@ main (int argc, char **argv)
button = gtk_toggle_button_new_with_label ("Toggle long content row");
g_signal_connect (button, "toggled",
G_CALLBACK (toggle_long_content_row), tree_view);
- gtk_box_pack_start (GTK_BOX (vbox), button, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), button);
/* Set up option menu callback and default item */
g_signal_connect (combo_box, "changed",