diff options
author | Ted Gould <ted@canonical.com> | 2009-06-05 15:09:28 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-06-05 15:09:28 -0500 |
commit | d53e25c40bd127952da9f31641007454354ca891 (patch) | |
tree | fddbd0da043f8b692185eda3fef8dc45b409ff5f /libdbusmenu-glib | |
parent | cd053ef1cae0ffb2ccd38afcc5ea7c719daf3334 (diff) | |
parent | ec5c382624da19a1a83d1e75d21f74778df01f38 (diff) | |
download | libdbusmenu-d53e25c40bd127952da9f31641007454354ca891.tar.gz libdbusmenu-d53e25c40bd127952da9f31641007454354ca891.tar.bz2 libdbusmenu-d53e25c40bd127952da9f31641007454354ca891.zip |
Updates from trunk with the properites branch.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c index 61f8c34..22f65fa 100644 --- a/libdbusmenu-glib/client.c +++ b/libdbusmenu-glib/client.c @@ -86,6 +86,7 @@ static DbusmenuMenuitem * parse_layout_xml(xmlNodePtr node, DbusmenuMenuitem * i static void parse_layout (DbusmenuClient * client, const gchar * layout); static void update_layout_cb (DBusGProxy * proxy, DBusGProxyCall * call, void * data); static void update_layout (DbusmenuClient * client); +static void menuitem_get_properties_cb (DBusGProxy * proxy, GHashTable * properties, GError * error, gpointer data); /* Build a type */ G_DEFINE_TYPE (DbusmenuClient, dbusmenu_client, G_TYPE_OBJECT); @@ -272,7 +273,7 @@ id_update (DBusGProxy * proxy, guint id, DbusmenuClient * client) DbusmenuMenuitem * menuitem = dbusmenu_menuitem_find_id(priv->root, id); g_return_if_fail(menuitem != NULL); - /* dbusmenu_menuitem_property_set(menuitem, property, value); */ + org_freedesktop_dbusmenu_get_properties_async(proxy, id, menuitem_get_properties_cb, menuitem); return; } |