diff options
author | Ted Gould <ted@gould.cx> | 2009-12-16 15:41:14 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-16 15:41:14 -0600 |
commit | cd561a9dad4d1d82e5c03fc89780130cc75ece01 (patch) | |
tree | edc060d6d068834f6553e1bff385e6de51c1072a /libdbusmenu-glib | |
parent | 0f9080a861c521e41fe4fa4c8c8ab138671d6659 (diff) | |
download | libdbusmenu-cd561a9dad4d1d82e5c03fc89780130cc75ece01.tar.gz libdbusmenu-cd561a9dad4d1d82e5c03fc89780130cc75ece01.tar.bz2 libdbusmenu-cd561a9dad4d1d82e5c03fc89780130cc75ece01.zip |
Using the GValues instead of setting the strings.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index a038cda..eecfb22 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -333,7 +333,7 @@ id_prop_update (DBusGProxy * proxy, guint id, gchar * property, GValue * value, DbusmenuMenuitem * menuitem = dbusmenu_menuitem_find_id(priv->root, id); g_return_if_fail(menuitem != NULL); - dbusmenu_menuitem_property_set(menuitem, property, g_value_get_string(value)); + dbusmenu_menuitem_property_set_value(menuitem, property, value); return; } @@ -568,7 +568,7 @@ parse_node_get_id (xmlNodePtr node) static void get_properties_helper (gpointer key, gpointer value, gpointer data) { - dbusmenu_menuitem_property_set((DbusmenuMenuitem *)data, (gchar *)key, g_value_get_string((GValue *)value)); + dbusmenu_menuitem_property_set_value((DbusmenuMenuitem *)data, (gchar *)key, (GValue *)value); return; } |