aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-09 19:56:05 -0600
committerTed Gould <ted@gould.cx>2009-12-09 19:56:05 -0600
commitbb0bab7e81c1ca6e5e4a6ddb33a124ae4e6e59ab (patch)
treee8ba9aefdb5060262359ed3b9c35b0550f09fe53 /libdbusmenu-glib
parent91636df6e71cb70c627e60d7a2399cbbc1da3c24 (diff)
downloadlibdbusmenu-bb0bab7e81c1ca6e5e4a6ddb33a124ae4e6e59ab.tar.gz
libdbusmenu-bb0bab7e81c1ca6e5e4a6ddb33a124ae4e6e59ab.tar.bz2
libdbusmenu-bb0bab7e81c1ca6e5e4a6ddb33a124ae4e6e59ab.zip
Switching the return from get properties should have values now.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index a3349af..0823951 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -567,7 +567,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, (gchar *)value);
+ dbusmenu_menuitem_property_set((DbusmenuMenuitem *)data, (gchar *)key, g_value_get_string((GValue *)value));
return;
}