summaryrefslogtreecommitdiff
path: root/tests/scrolling-performance.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scrolling-performance.c')
-rw-r--r--tests/scrolling-performance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scrolling-performance.c b/tests/scrolling-performance.c
index 96fc298542..033bd31fd4 100644
--- a/tests/scrolling-performance.c
+++ b/tests/scrolling-performance.c
@@ -45,7 +45,7 @@ create_widget_factory_content (void)
result = GTK_WIDGET (gtk_builder_get_object (builder, "box1"));
g_object_ref (result);
- gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (result)),
+ gtk_box_remove (GTK_BOX (gtk_widget_get_parent (result)),
result);
g_object_unref (builder);