diff options
author | Ted Gould <ted@gould.cx> | 2011-09-20 00:02:09 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-09-20 00:02:09 -0500 |
commit | c808cc90d518f9b010d937a13a8db0e8018fa9fd (patch) | |
tree | 27f576440a677c19c7610a408b27ee70b5d5e4d9 /tests/test-gtk-parser.c | |
parent | 549dcbddf1b835ba18a259f15669a29d9660ccf3 (diff) | |
parent | 451acabd0340c1f0196ec0fe8a6ef62ead4e77f9 (diff) | |
download | libdbusmenu-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.c | 2 |
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); |