diff options
author | Ted Gould <ted@gould.cx> | 2010-11-17 21:23:27 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-11-17 21:23:27 -0600 |
commit | aabdcffea6b311cda25ad2937466d65fc4e36381 (patch) | |
tree | f86b33a60c4eb780057adcd4293b2b36d7fd19f2 /tests/test-gtk-objects.c | |
parent | 0dea1bb0779b8cddbf631ee80f76d13aa8920ec5 (diff) | |
download | libdbusmenu-aabdcffea6b311cda25ad2937466d65fc4e36381.tar.gz libdbusmenu-aabdcffea6b311cda25ad2937466d65fc4e36381.tar.bz2 libdbusmenu-aabdcffea6b311cda25ad2937466d65fc4e36381.zip |
Moving the GValues over to GVariant
Diffstat (limited to 'tests/test-gtk-objects.c')
-rw-r--r-- | tests/test-gtk-objects.c | 4 |
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 */ |