summaryrefslogtreecommitdiff
path: root/tests/animated-resizing.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/animated-resizing.c')
-rw-r--r--tests/animated-resizing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/animated-resizing.c b/tests/animated-resizing.c
index c9a316a560..bf7a0b68c4 100644
--- a/tests/animated-resizing.c
+++ b/tests/animated-resizing.c
@@ -123,7 +123,7 @@ on_frame (double progress)
window_height = HEIGHT + jitter;
}
- gtk_widget_set_size_request (gtk_window_get_child (GTK_WINDOW (window)),
+ gtk_window_set_default_size (GTK_WINDOW (window),
window_width, window_height);
gtk_widget_queue_draw (window);