aboutsummaryrefslogtreecommitdiff
path: root/tests/test-gtk-objects.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-12-07 09:45:41 -0600
committerTed Gould <ted@gould.cx>2010-12-07 09:45:41 -0600
commit663a072630eb71cf8ea246eb218934df1911ee1a (patch)
tree20e1a5bb1b7a8e865b7975bfb52d94bbac044b0e /tests/test-gtk-objects.c
parentbdb286fb7bdbf81d63c0c592beb5bbb94e1a82ae (diff)
parent9b53f1fd5c2452f40ac079ece4d673b4b4d1bb57 (diff)
downloadlibdbusmenu-663a072630eb71cf8ea246eb218934df1911ee1a.tar.gz
libdbusmenu-663a072630eb71cf8ea246eb218934df1911ee1a.tar.bz2
libdbusmenu-663a072630eb71cf8ea246eb218934df1911ee1a.zip
* Upstream Merge
* Porting from dbus-glib to GDBus
Diffstat (limited to 'tests/test-gtk-objects.c')
-rw-r--r--tests/test-gtk-objects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-gtk-objects.c b/tests/test-gtk-objects.c
index 726f404..30fc022 100644
--- a/tests/test-gtk-objects.c
+++ b/tests/test-gtk-objects.c
@@ -72,7 +72,7 @@ test_object_prop_pixbuf (void)
g_object_unref(pixbuf);
/* Check to see if it's set */
- const GValue * val = dbusmenu_menuitem_property_get_value(item, prop_name);
+ GVariant * val = dbusmenu_menuitem_property_get_variant(item, prop_name);
g_assert(val != NULL);
/* Get the pixbuf back! */
@@ -105,7 +105,7 @@ test_object_prop_shortcut (void)
g_assert(success);
/* Check for value */
- const GValue * val = dbusmenu_menuitem_property_get_value(item, DBUSMENU_MENUITEM_PROP_SHORTCUT);
+ GVariant * val = dbusmenu_menuitem_property_get_variant(item, DBUSMENU_MENUITEM_PROP_SHORTCUT);
g_assert(val != NULL);
/* Check to see if we love it */