summaryrefslogtreecommitdiffstats
path: root/src/object/sp-stop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-stop.cpp')
-rw-r--r--src/object/sp-stop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-stop.cpp b/src/object/sp-stop.cpp
index 41daeb4d4..7d9548955 100644
--- a/src/object/sp-stop.cpp
+++ b/src/object/sp-stop.cpp
@@ -43,7 +43,7 @@ void SPStop::build(SPDocument* doc, Inkscape::XML::Node* repr) {
* Virtual build: set stop attributes from its associated XML node.
*/
-void SPStop::set(unsigned int key, const gchar* value) {
+void SPStop::set(SPAttributeEnum key, const gchar* value) {
switch (key) {
case SP_ATTR_OFFSET: {
this->offset = sp_svg_read_percentage(value, 0.0);