aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@ubuntu.com>2017-01-09 15:38:08 +0000
committerBileto Bot <ci-train-bot@canonical.com>2017-01-09 15:38:08 +0000
commit457f04615cc904dbe2083b78d6173be5f518f4fb (patch)
treef4e6651e335cb30b38d243c94c874fc626cbffaa /libdbusmenu-gtk
parentb29d89490918882c5d45477862e533650f23ee0c (diff)
parentc8664ba34bd9ef0c3def0f7296ce62e2d792a0ff (diff)
downloadlibdbusmenu-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)
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r--libdbusmenu-gtk/client.c2
1 files changed, 1 insertions, 1 deletions
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 */