summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2018-10-06 13:28:39 +0000
committerThomas Holder <thomas@thomas-holder.de>2018-10-06 13:28:39 +0000
commit03c35f6065f45346634cdcd8a9d13e4f167549c0 (patch)
tree3a892c439d37cff565592d93e124137e70a42c31 /src/live_effects
parentAdd new style register style property for stop color and opacity (diff)
downloadinkscape-03c35f6065f45346634cdcd8a9d13e4f167549c0.tar.gz
inkscape-03c35f6065f45346634cdcd8a9d13e4f167549c0.zip
SPAttributeEnum typed function arguments
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpeobject.cpp2
-rw-r--r--src/live_effects/lpeobject.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpeobject.cpp b/src/live_effects/lpeobject.cpp
index 561f4e79a..e90a99331 100644
--- a/src/live_effects/lpeobject.cpp
+++ b/src/live_effects/lpeobject.cpp
@@ -95,7 +95,7 @@ void LivePathEffectObject::release() {
/**
* Virtual set: set attribute to value.
*/
-void LivePathEffectObject::set(unsigned key, gchar const *value) {
+void LivePathEffectObject::set(SPAttributeEnum key, gchar const *value) {
#ifdef LIVEPATHEFFECT_VERBOSE
g_print("Set livepatheffect");
#endif
diff --git a/src/live_effects/lpeobject.h b/src/live_effects/lpeobject.h
index 3f510edf9..631aba68a 100644
--- a/src/live_effects/lpeobject.h
+++ b/src/live_effects/lpeobject.h
@@ -53,7 +53,7 @@ protected:
void build(SPDocument* doc, Inkscape::XML::Node* repr) override;
void release() override;
- void set(unsigned int key, char const* value) override;
+ void set(SPAttributeEnum key, char const* value) override;
Inkscape::XML::Node* write(Inkscape::XML::Document* doc, Inkscape::XML::Node* repr, unsigned int flags) override;
};