summaryrefslogtreecommitdiff
path: root/tests/testframe.c
diff options
context:
space:
mode:
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);