summaryrefslogtreecommitdiff
path: root/tests/testtreeflow.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/testtreeflow.c
parent5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 (diff)
downloadgtk+-c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d.tar.gz
box: Remove fill child property
GtkWidget:halign and GtkWidget:valign are sufficient
Diffstat (limited to 'tests/testtreeflow.c')
-rw-r--r--tests/testtreeflow.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testtreeflow.c b/tests/testtreeflow.c
index 4a6c28abeb..60d6ff7bef 100644
--- a/tests/testtreeflow.c
+++ b/tests/testtreeflow.c
@@ -134,14 +134,14 @@ main (int argc, char *argv[])
gtk_window_set_title (GTK_WINDOW (window), "Reflow test");
g_signal_connect (window, "destroy", gtk_main_quit, NULL);
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
- gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Incremental Reflow Test"), FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), gtk_label_new ("Incremental Reflow Test"));
gtk_container_add (GTK_CONTAINER (window), vbox);
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_widget_set_vexpand (scrolled_window, TRUE);
- gtk_box_pack_start (GTK_BOX (vbox), scrolled_window, TRUE);
+ gtk_box_pack_start (GTK_BOX (vbox), scrolled_window);
initialize_model ();
tree_view = gtk_tree_view_new_with_model (model);
@@ -157,9 +157,9 @@ main (int argc, char *argv[])
NULL);
gtk_container_add (GTK_CONTAINER (scrolled_window), tree_view);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
- gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE);
+ gtk_box_pack_start (GTK_BOX (vbox), hbox);
button = gtk_button_new_with_mnemonic ("<b>_Futz!!</b>");
- gtk_box_pack_start (GTK_BOX (hbox), button, FALSE);
+ gtk_box_pack_start (GTK_BOX (hbox), button);
gtk_label_set_use_markup (GTK_LABEL (gtk_bin_get_child (GTK_BIN (button))), TRUE);
g_signal_connect (button, "clicked", G_CALLBACK (futz), NULL);
g_signal_connect (button, "realize", G_CALLBACK (gtk_widget_grab_focus), NULL);