summaryrefslogtreecommitdiffstats
path: root/src/xml/simple-session.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-03-15 03:22:23 +0000
committermental <mental@users.sourceforge.net>2006-03-15 03:22:23 +0000
commit7663e55d418b5ea8765421c9570dba40f6bd97fd (patch)
tree74e9eef28e3553010bb121dc4eba4cb5b59d05ff /src/xml/simple-session.cpp
parentdifferentiate _hreffed and _listening flags for color, fill, and stroke paint... (diff)
downloadinkscape-7663e55d418b5ea8765421c9570dba40f6bd97fd.tar.gz
inkscape-7663e55d418b5ea8765421c9570dba40f6bd97fd.zip
shared_ptr -> ptr_shared
(bzr r240)
Diffstat (limited to 'src/xml/simple-session.cpp')
-rw-r--r--src/xml/simple-session.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xml/simple-session.cpp b/src/xml/simple-session.cpp
index c8d873fd2..d5c17a540 100644
--- a/src/xml/simple-session.cpp
+++ b/src/xml/simple-session.cpp
@@ -88,8 +88,8 @@ void SimpleSession::notifyChildOrderChanged(Node &parent,
}
void SimpleSession::notifyContentChanged(Node &node,
- Util::shared_ptr<char> old_content,
- Util::shared_ptr<char> new_content)
+ Util::ptr_shared<char> old_content,
+ Util::ptr_shared<char> new_content)
{
if (_in_transaction) {
_log_builder.setContent(node, old_content, new_content);
@@ -98,8 +98,8 @@ void SimpleSession::notifyContentChanged(Node &node,
void SimpleSession::notifyAttributeChanged(Node &node,
GQuark name,
- Util::shared_ptr<char> old_value,
- Util::shared_ptr<char> new_value)
+ Util::ptr_shared<char> old_value,
+ Util::ptr_shared<char> new_value)
{
if (_in_transaction) {
_log_builder.setAttribute(node, name, old_value, new_value);