summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9e54d0d)
raw | patch | inline | side by side (parent: 9e54d0d)
author | Jon A. Cruz <jon@joncruz.org> | |
Thu, 25 Feb 2010 06:01:43 +0000 (22:01 -0800) | ||
committer | Jon A. Cruz <jon@joncruz.org> | |
Thu, 25 Feb 2010 06:01:43 +0000 (22:01 -0800) |
src/ui/tool/node.cpp | patch | blob | history | |
src/ui/tool/path-manipulator.cpp | patch | blob | history |
diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp
index 865d65386c7fe92d10f9927688f21e6992cc3503..ae924f694a9d3dd7f412f45339b48c17e13f33cb 100644 (file)
--- a/src/ui/tool/node.cpp
+++ b/src/ui/tool/node.cpp
splice(pos, list, i, j);
}
-void NodeList::splice(iterator pos, NodeList &list, iterator first, iterator last)
+void NodeList::splice(iterator pos, NodeList &/*list*/, iterator first, iterator last)
{
ListNode *ins_beg = first._node, *ins_end = last._node, *at = pos._node;
for (ListNode *ln = ins_beg; ln != ins_end; ln = ln->next) {
index 82fe5344026a443e447f0b823cde9067f7e8c070..0b0254108d37e2851a7fa45a1189cd098902b109 100644 (file)
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
_pm->_externalChange(PATH_CHANGE_TRANSFORM);
}
}
+
void block() { _blocked = true; }
void unblock() { _blocked = false; }
private: