aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/client.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-01 13:43:41 -0500
committerTed Gould <ted@canonical.com>2009-10-01 13:43:41 -0500
commitb460b4f1596852355cfbf8828160f8e221547c3a (patch)
treeef458f8e1f3c467931f8ea9f4e9ef481e2d8dd19 /libdbusmenu-glib/client.c
parent117c858195254ad2debaaf0edc116d85f6d8c4f5 (diff)
downloadlibdbusmenu-b460b4f1596852355cfbf8828160f8e221547c3a.tar.gz
libdbusmenu-b460b4f1596852355cfbf8828160f8e221547c3a.tar.bz2
libdbusmenu-b460b4f1596852355cfbf8828160f8e221547c3a.zip
Adding in printing for type handlers and getting root.
Diffstat (limited to 'libdbusmenu-glib/client.c')
-rw-r--r--libdbusmenu-glib/client.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index 2c5e571..1a018a8 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -880,6 +880,10 @@ dbusmenu_client_get_root (DbusmenuClient * client)
return NULL;
}
+ #ifdef MASSIVEDEBUGGING
+ g_debug("Client get root: %X", (guint)priv->root);
+ #endif
+
return priv->root;
}
@@ -912,6 +916,10 @@ dbusmenu_client_add_type_handler (DbusmenuClient * client, const gchar * type, D
DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(client);
+ #ifdef MASSIVEDEBUGGING
+ g_debug("Adding a type handler for '%s'", type);
+ #endif
+
if (priv->type_handlers == NULL) {
g_warning("Type handlers hashtable not built");
return FALSE;