summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-02-25 06:01:43 +0000
committerJon A. Cruz <jon@joncruz.org>2010-02-25 06:01:43 +0000
commit1a455b9b06bfde3589574b241dfb140d598608b0 (patch)
treef401452f50ac8dff58fe9a369f4d06383504bf3d /src/ui/tool/path-manipulator.cpp
parentFixing autogen for OS X. (diff)
downloadinkscape-1a455b9b06bfde3589574b241dfb140d598608b0.tar.gz
inkscape-1a455b9b06bfde3589574b241dfb140d598608b0.zip
Warning cleanup.
(bzr r9110)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index 82fe53440..0b0254108 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -66,11 +66,13 @@ public:
Inkscape::GC::anchor(_node);
_node->addObserver(*this);
}
+
~PathManipulatorObserver() {
_node->removeObserver(*this);
Inkscape::GC::release(_node);
}
- virtual void notifyAttributeChanged(Inkscape::XML::Node &node, GQuark attr,
+
+ virtual void notifyAttributeChanged(Inkscape::XML::Node &/*node*/, GQuark attr,
Util::ptr_shared<char>, Util::ptr_shared<char>)
{
// do nothing if blocked
@@ -87,6 +89,7 @@ public:
_pm->_externalChange(PATH_CHANGE_TRANSFORM);
}
}
+
void block() { _blocked = true; }
void unblock() { _blocked = false; }
private: