From e1907fab9d7cf65d9fc84be9617959e59fc6e20c Mon Sep 17 00:00:00 2001 From: pabs Date: Thu, 15 Nov 2007 21:56:24 +0000 Subject: [PATCH] Don't print pointers as integers, print them as pointers. Thanks to Aurore. git-svn-id: http://svn.voria.com/code@1154 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/app.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp index e0be7b0..52b93fb 100644 --- a/synfig-studio/trunk/src/gtkmm/app.cpp +++ b/synfig-studio/trunk/src/gtkmm/app.cpp @@ -268,7 +268,7 @@ namespace studio { bool really_delete_widget(Gtk::Widget *widget) { - synfig::info("really delete %x", (unsigned int)widget); + synfig::info("really delete %p", (void*)widget); delete widget; return false; } @@ -279,7 +279,7 @@ really_delete_widget(Gtk::Widget *widget) void delete_widget(Gtk::Widget *widget) { - synfig::info("delete %x", (unsigned int)widget); + synfig::info("delete %p", (void*)widget); Glib::signal_timeout().connect(sigc::bind(sigc::ptr_fun(&really_delete_widget), widget), 50); } -- 2.7.4