diff options
author | Dmitry Shachnev <mitya57@ubuntu.com> | 2017-01-09 15:38:08 +0000 |
---|---|---|
committer | Bileto Bot <ci-train-bot@canonical.com> | 2017-01-09 15:38:08 +0000 |
commit | 457f04615cc904dbe2083b78d6173be5f518f4fb (patch) | |
tree | f4e6651e335cb30b38d243c94c874fc626cbffaa | |
parent | b29d89490918882c5d45477862e533650f23ee0c (diff) | |
parent | c8664ba34bd9ef0c3def0f7296ce62e2d792a0ff (diff) | |
download | libdbusmenu-457f04615cc904dbe2083b78d6173be5f518f4fb.tar.gz libdbusmenu-457f04615cc904dbe2083b78d6173be5f518f4fb.tar.bz2 libdbusmenu-457f04615cc904dbe2083b78d6173be5f518f4fb.zip |
Fix build with --enable-massivedebugging
Use %p for printing pointers, otherwise GCC complains.
Approved by: Marco Trevisan (TreviƱo)
-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 */ |