aboutsummaryrefslogtreecommitdiff
path: root/tests/test-gtk-parser.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-09-20 00:02:09 -0500
committerTed Gould <ted@gould.cx>2011-09-20 00:02:09 -0500
commitc808cc90d518f9b010d937a13a8db0e8018fa9fd (patch)
tree27f576440a677c19c7610a408b27ee70b5d5e4d9 /tests/test-gtk-parser.c
parent549dcbddf1b835ba18a259f15669a29d9660ccf3 (diff)
parent451acabd0340c1f0196ec0fe8a6ef62ead4e77f9 (diff)
downloadlibdbusmenu-c808cc90d518f9b010d937a13a8db0e8018fa9fd.tar.gz
libdbusmenu-c808cc90d518f9b010d937a13a8db0e8018fa9fd.tar.bz2
libdbusmenu-c808cc90d518f9b010d937a13a8db0e8018fa9fd.zip
Import upstream version 0.4.94
Diffstat (limited to 'tests/test-gtk-parser.c')
-rw-r--r--tests/test-gtk-parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-gtk-parser.c b/tests/test-gtk-parser.c
index 87b0a7f..afd6194 100644
--- a/tests/test-gtk-parser.c
+++ b/tests/test-gtk-parser.c
@@ -28,6 +28,8 @@ test_parser_runs (void)
{
GtkWidget * gmi = gtk_menu_item_new_with_label("Test Item");
g_assert(gmi != NULL);
+ g_object_ref_sink(gmi);
+
DbusmenuMenuitem * mi = dbusmenu_gtk_parse_menu_structure(gmi);
g_assert(mi != NULL);