summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
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;
};