summaryrefslogtreecommitdiffstats
path: root/src/xml/attribute-record.h
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-02-06 04:15:05 +0000
committermental <mental@users.sourceforge.net>2006-02-06 04:15:05 +0000
commit4f46bb0e09ddfa540b60bd4d152385729127aceb (patch)
tree7b30dc6f0d64d847c422352d23ef1187ec04802a /src/xml/attribute-record.h
parentsilence warnings (diff)
downloadinkscape-4f46bb0e09ddfa540b60bd4d152385729127aceb.tar.gz
inkscape-4f46bb0e09ddfa540b60bd4d152385729127aceb.zip
replace Util::SharedCStringPtr with the more general Util::shared_ptr<>
(bzr r87)
Diffstat (limited to 'src/xml/attribute-record.h')
-rw-r--r--src/xml/attribute-record.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xml/attribute-record.h b/src/xml/attribute-record.h
index dbad0f340..30d8576d0 100644
--- a/src/xml/attribute-record.h
+++ b/src/xml/attribute-record.h
@@ -4,7 +4,7 @@
#include <glib/gquark.h>
#include <glib/gtypes.h>
#include "gc-managed.h"
-#include "util/shared-c-string-ptr.h"
+#include "util/share.h"
#define SP_REPR_ATTRIBUTE_KEY(a) g_quark_to_string((a)->key)
#define SP_REPR_ATTRIBUTE_VALUE(a) ((a)->value)
@@ -13,11 +13,11 @@ namespace Inkscape {
namespace XML {
struct AttributeRecord : public Inkscape::GC::Managed<> {
- AttributeRecord(GQuark k, Inkscape::Util::SharedCStringPtr v)
+ AttributeRecord(GQuark k, Inkscape::Util::shared_ptr<char> v)
: key(k), value(v) {}
GQuark key;
- Inkscape::Util::SharedCStringPtr value;
+ Inkscape::Util::shared_ptr<char> value;
// accept default copy constructor and assignment operator
};