summaryrefslogtreecommitdiffstats
path: root/src/xml/event.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2008-07-20 07:26:15 +0000
committerjoncruz <joncruz@users.sourceforge.net>2008-07-20 07:26:15 +0000
commitfcd25c00c332334cf431bc1f3a6102182ba86a50 (patch)
tree930589f15decb9d46faf07c4ddb8bc3d4df0fd1b /src/xml/event.cpp
parentAdded set_int_pref stub to svg/test-stubs.cpp, unit tests build again on (diff)
downloadinkscape-fcd25c00c332334cf431bc1f3a6102182ba86a50.tar.gz
inkscape-fcd25c00c332334cf431bc1f3a6102182ba86a50.zip
Warning cleanup
(bzr r6367)
Diffstat (limited to 'src/xml/event.cpp')
-rw-r--r--src/xml/event.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xml/event.cpp b/src/xml/event.cpp
index d713200e5..ded96e722 100644
--- a/src/xml/event.cpp
+++ b/src/xml/event.cpp
@@ -95,25 +95,25 @@ public:
parent.addChild(&child, ref);
}
- void notifyChildRemoved(Node &parent, Node &child, Node *old_ref) {
+ void notifyChildRemoved(Node &parent, Node &child, Node */*old_ref*/) {
parent.removeChild(&child);
}
void notifyChildOrderChanged(Node &parent, Node &child,
- Node *old_ref, Node *new_ref)
+ Node */*old_ref*/, Node *new_ref)
{
parent.changeOrder(&child, new_ref);
}
void notifyAttributeChanged(Node &node, GQuark name,
- Inkscape::Util::ptr_shared<char> old_value,
+ Inkscape::Util::ptr_shared<char> /*old_value*/,
Inkscape::Util::ptr_shared<char> new_value)
{
node.setAttribute(g_quark_to_string(name), new_value);
}
void notifyContentChanged(Node &node,
- Inkscape::Util::ptr_shared<char> old_value,
+ Inkscape::Util::ptr_shared<char> /*old_value*/,
Inkscape::Util::ptr_shared<char> new_value)
{
node.setContent(new_value);
@@ -435,18 +435,18 @@ public:
g_warning("Event: Added %s to %s after %s", node_to_string(parent).c_str(), node_to_string(child).c_str(), ref_to_string(ref).c_str());
}
- void notifyChildRemoved(Node &parent, Node &child, Node *ref) {
+ void notifyChildRemoved(Node &parent, Node &child, Node */*ref*/) {
g_warning("Event: Removed %s from %s", node_to_string(parent).c_str(), node_to_string(child).c_str());
}
void notifyChildOrderChanged(Node &parent, Node &child,
- Node *old_ref, Node *new_ref)
+ Node */*old_ref*/, Node *new_ref)
{
g_warning("Event: Moved %s after %s in %s", node_to_string(child).c_str(), ref_to_string(new_ref).c_str(), node_to_string(parent).c_str());
}
void notifyAttributeChanged(Node &node, GQuark name,
- Inkscape::Util::ptr_shared<char> old_value,
+ Inkscape::Util::ptr_shared<char> /*old_value*/,
Inkscape::Util::ptr_shared<char> new_value)
{
if (new_value) {
@@ -457,7 +457,7 @@ public:
}
void notifyContentChanged(Node &node,
- Inkscape::Util::ptr_shared<char> old_value,
+ Inkscape::Util::ptr_shared<char> /*old_value*/,
Inkscape::Util::ptr_shared<char> new_value)
{
if (new_value) {