aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdbusmenu-glib/client.c2
-rw-r--r--libdbusmenu-gtk/client.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index 800c96c..7bd0573 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -2511,7 +2511,7 @@ dbusmenu_client_get_root (DbusmenuClient * client)
DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(client);
#ifdef MASSIVEDEBUGGING
- g_debug("Client get root: %X", (guint)priv->root);
+ g_debug("Client get root: %p", priv->root);
#endif
return priv->root;
diff --git a/libdbusmenu-gtk/client.c b/libdbusmenu-gtk/client.c
index 7e1ea36..28953ab 100644
--- a/libdbusmenu-gtk/client.c
+++ b/libdbusmenu-gtk/client.c
@@ -879,7 +879,7 @@ static void
destroy_gmi (GtkMenuItem * gmi)
{
#ifdef MASSIVEDEBUGGING
- g_debug("Destroying GTK Menuitem %d", gmi);
+ g_debug("Destroying GTK Menuitem %p", gmi);
#endif
/* Call gtk_widget_destroy to remove from any containers and cleanup */