Don't print pointers as integers, print them as pointers. Thanks to Aurore.
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 15 Nov 2007 21:56:24 +0000 (21:56 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 15 Nov 2007 21:56:24 +0000 (21:56 +0000)
git-svn-id: http://svn.voria.com/code@1154 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/app.cpp

index e0be7b0..52b93fb 100644 (file)
@@ -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);
 }