aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/client.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-13 12:04:58 -0600
committerTed Gould <ted@canonical.com>2009-11-13 12:04:58 -0600
commit54a9ab9d12ec6750da50629099d11dfa559d51ca (patch)
tree475ba65d63e87b2a977f1e1d68e2d435afbaf0fc /libdbusmenu-glib/client.c
parent088c421863751188f5702cd0703b343cb07a2dea (diff)
downloadlibdbusmenu-54a9ab9d12ec6750da50629099d11dfa559d51ca.tar.gz
libdbusmenu-54a9ab9d12ec6750da50629099d11dfa559d51ca.tar.bz2
libdbusmenu-54a9ab9d12ec6750da50629099d11dfa559d51ca.zip
Making the 'type' property a #define
Diffstat (limited to 'libdbusmenu-glib/client.c')
-rw-r--r--libdbusmenu-glib/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index ab307bd..c0ea0d7 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -34,6 +34,7 @@ License version 3 and version 2.1 along with this program. If not, see
#include <libxml/tree.h>
#include "client.h"
+#include "menuitem.h"
#include "dbusmenu-client.h"
#include "server-marshal.h"
@@ -606,7 +607,7 @@ menuitem_get_properties_new_cb (DBusGProxy * proxy, GHashTable * properties, GEr
const gchar * type;
DbusmenuClientTypeHandler newfunc = NULL;
- type = dbusmenu_menuitem_property_get(propdata->item, "type");
+ type = dbusmenu_menuitem_property_get(propdata->item, DBUSMENU_MENUITEM_PROP_TYPE);
if (type != NULL) {
newfunc = g_hash_table_lookup(priv->type_handlers, type);
} else {