summaryrefslogtreecommitdiff
path: root/tests/testgmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testgmenu.c')
-rw-r--r--tests/testgmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testgmenu.c b/tests/testgmenu.c
index e5366aa247..8940af501f 100644
--- a/tests/testgmenu.c
+++ b/tests/testgmenu.c
@@ -103,9 +103,9 @@ get_model (void)
gtk_builder_add_from_string (builder, menu_markup, -1, &error);
g_assert_no_error (error);
- menu = g_object_ref (gtk_builder_get_object (builder, "edit-menu"));
+ menu = G_MENU_MODEL (g_object_ref (gtk_builder_get_object (builder, "edit-menu")));
- section = g_object_ref (gtk_builder_get_object (builder, "size-placeholder"));
+ section = G_MENU_MODEL (g_object_ref (gtk_builder_get_object (builder, "size-placeholder")));
g_object_unref (builder);
for (i = 0.5; i <= 2.0; i += 0.5)