summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-05-08 23:31:42 +0000
committermental <mental@users.sourceforge.net>2006-05-08 23:31:42 +0000
commit3935a9f570e6e50c8acbd0c593060776ac9c24a0 (patch)
tree5ff61d69fc76e4832c1be06dcdba02ac2224a746 /src/sp-object.cpp
parentremoved resource name from self's jid, allowing authentication against jabber... (diff)
downloadinkscape-3935a9f570e6e50c8acbd0c593060776ac9c24a0.tar.gz
inkscape-3935a9f570e6e50c8acbd0c593060776ac9c24a0.zip
use c++filt for symbol demangling if available
(bzr r778)
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index fbe16e957..5e011bd04 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -45,6 +45,7 @@
#include "xml/node-fns.h"
#include "debug/event-tracker.h"
#include "debug/simple-event.h"
+#include "debug/demangle.h"
#include "util/share.h"
#include "util/format.h"
@@ -241,7 +242,7 @@ public:
: BaseRefCountEvent(name)
{
_addProperty("object", Util::format("%p", object));
- _addProperty("class", Util::share_static_string(g_type_name(G_TYPE_FROM_INSTANCE(object))));
+ _addProperty("class", Debug::demangle(g_type_name(G_TYPE_FROM_INSTANCE(object))));
_addProperty("new-refcount", Util::format("%d", G_OBJECT(object)->ref_count + bias));
}
};