summaryrefslogtreecommitdiff
path: root/tests/testframe.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/testframe.c
parent5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 (diff)
downloadgtk+-c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d.tar.gz
box: Remove fill child property
GtkWidget:halign and GtkWidget:valign are sufficient
Diffstat (limited to 'tests/testframe.c')
-rw-r--r--tests/testframe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testframe.c b/tests/testframe.c
index 208f2be114..5da3c56cc5 100644
--- a/tests/testframe.c
+++ b/tests/testframe.c
@@ -160,8 +160,8 @@ int main (int argc, char **argv)
gtk_container_add (GTK_CONTAINER (window), GTK_WIDGET (vbox));
frame = GTK_FRAME (gtk_frame_new ("Test GtkFrame"));
- gtk_widget_set_vexpand (frame, TRUE);
- gtk_box_pack_start (vbox, GTK_WIDGET (frame), TRUE);
+ gtk_widget_set_vexpand (GTK_WIDGET (frame), TRUE);
+ gtk_box_pack_start (vbox, GTK_WIDGET (frame));
widget = gtk_button_new_with_label ("Hello!");
gtk_container_add (GTK_CONTAINER (frame), widget);
@@ -169,7 +169,7 @@ int main (int argc, char **argv)
grid = GTK_GRID (gtk_grid_new ());
gtk_grid_set_row_spacing (grid, 12);
gtk_grid_set_column_spacing (grid, 6);
- gtk_box_pack_start (vbox, GTK_WIDGET (grid), FALSE);
+ gtk_box_pack_start (vbox, GTK_WIDGET (grid));
gtk_frame_get_label_align (frame, &xalign, &yalign);