From: pabs Date: Thu, 15 Nov 2007 21:56:24 +0000 (+0000) Subject: Don't print pointers as integers, print them as pointers. Thanks to Aurore. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e1907fab9d7cf65d9fc84be9617959e59fc6e20c;p=synfig.git 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 --- 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); }