diff options
author | Dmitry Shachnev <mitya57@ubuntu.com> | 2016-11-24 21:06:01 +0300 |
---|---|---|
committer | Dmitry Shachnev <mitya57@ubuntu.com> | 2016-11-24 21:06:01 +0300 |
commit | c8664ba34bd9ef0c3def0f7296ce62e2d792a0ff (patch) | |
tree | f4e6651e335cb30b38d243c94c874fc626cbffaa | |
parent | b29d89490918882c5d45477862e533650f23ee0c (diff) | |
download | libdbusmenu-c8664ba34bd9ef0c3def0f7296ce62e2d792a0ff.tar.gz libdbusmenu-c8664ba34bd9ef0c3def0f7296ce62e2d792a0ff.tar.bz2 libdbusmenu-c8664ba34bd9ef0c3def0f7296ce62e2d792a0ff.zip |
Fix build with --enable-massivedebugging
Use %p for printing pointers, otherwise GCC complains.
-rw-r--r-- | libdbusmenu-glib/client.c | 2 | ||||
-rw-r--r-- | libdbusmenu-gtk/client.c | 2 |
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 */ |