From 7663e55d418b5ea8765421c9570dba40f6bd97fd Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Wed, 15 Mar 2006 03:22:23 +0000 Subject: shared_ptr -> ptr_shared (bzr r240) --- src/sp-object.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/sp-object.cpp') diff --git a/src/sp-object.cpp b/src/sp-object.cpp index 5f6bf779f..9068c4ba2 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -227,16 +227,16 @@ sp_object_finalize(GObject *object) namespace { -Inkscape::Util::shared_ptr stringify(SPObject *obj) { +Inkscape::Util::ptr_shared stringify(SPObject *obj) { char *temp=g_strdup_printf("%p", obj); - Inkscape::Util::shared_ptr result=Inkscape::Util::share_string(temp); + Inkscape::Util::ptr_shared result=Inkscape::Util::share_string(temp); g_free(temp); return result; } -Inkscape::Util::shared_ptr stringify(unsigned n) { +Inkscape::Util::ptr_shared stringify(unsigned n) { char *temp=g_strdup_printf("%u", n); - Inkscape::Util::shared_ptr result=Inkscape::Util::share_string(temp); + Inkscape::Util::ptr_shared result=Inkscape::Util::share_string(temp); g_free(temp); return result; } @@ -252,7 +252,7 @@ public: static Category category() { return REFCOUNT; } - Inkscape::Util::shared_ptr name() const { + Inkscape::Util::ptr_shared name() const { if ( _type == REF) { return Inkscape::Util::share_static_string("sp-object-ref"); } else { @@ -272,7 +272,7 @@ public: } private: - Inkscape::Util::shared_ptr _object; + Inkscape::Util::ptr_shared _object; unsigned _refcount; Type _type; }; -- cgit v1.2.3