diff options
author | Ted Gould <ted@canonical.com> | 2009-05-19 00:01:03 +0200 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-05-19 00:01:03 +0200 |
commit | 749d436792f990048a66273e350211d2b8fd5de9 (patch) | |
tree | 9050891d934a01f36babfd100df4e058048c774b /libdbusmenu-glib | |
parent | 7f9e260da74ab97ecc279f079efd465c66802de4 (diff) | |
download | libdbusmenu-749d436792f990048a66273e350211d2b8fd5de9.tar.gz libdbusmenu-749d436792f990048a66273e350211d2b8fd5de9.tar.bz2 libdbusmenu-749d436792f990048a66273e350211d2b8fd5de9.zip |
Ah, finally found the right prototype for dicts, whoo hoo, just love dynamic typing in C.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c index 02aed24..61f8e86 100644 --- a/libdbusmenu-glib/server.c +++ b/libdbusmenu-glib/server.c @@ -35,7 +35,7 @@ License version 3 and version 2.1 along with this program. If not, see /* DBus Prototypes */ static gboolean _dbusmenu_server_get_property (DbusmenuServer * server, guint id, gchar * property, gchar ** value, GError ** error); -static gboolean _dbusmenu_server_get_properties (DbusmenuServer * server, guint id, gpointer dict, GError ** error); +static gboolean _dbusmenu_server_get_properties (DbusmenuServer * server, guint id, GHashTable ** dict, GError ** error); static gboolean _dbusmenu_server_call (DbusmenuServer * server, guint id, GError ** error); #include "dbusmenu-server.h" @@ -402,7 +402,7 @@ _dbusmenu_server_get_property (DbusmenuServer * server, guint id, gchar * proper } static gboolean -_dbusmenu_server_get_properties (DbusmenuServer * server, guint id, gpointer dict, GError ** error) +_dbusmenu_server_get_properties (DbusmenuServer * server, guint id, GHashTable ** dict, GError ** error) { DbusmenuServerPrivate * priv = DBUSMENU_SERVER_GET_PRIVATE(server); DbusmenuMenuitem * mi = dbusmenu_menuitem_find_id(priv->root, id); |