summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-04-07 12:31:31 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2012-04-07 12:31:31 +0000
commit969832ce77568a3af3ae1685c2c67eea11badfb4 (patch)
tree75df91dd231f035c52b63fe49a4bccba687379ec /src
parentrestore item order of dialogs in context menu (Bug #910529) (diff)
downloadinkscape-969832ce77568a3af3ae1685c2c67eea11badfb4.tar.gz
inkscape-969832ce77568a3af3ae1685c2c67eea11badfb4.zip
the knotholders for LPE parameters should not derive from LPEKnotHolderEntity as this prevents deletion
(bzr r11168)
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/parameter/point.cpp2
-rw-r--r--src/live_effects/parameter/vector.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp
index e3731fdcf..eb2543ac7 100644
--- a/src/live_effects/parameter/point.cpp
+++ b/src/live_effects/parameter/point.cpp
@@ -127,7 +127,7 @@ PointParam::set_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint
knot_color = color;
}
-class PointParamKnotHolderEntity : public LPEKnotHolderEntity {
+class PointParamKnotHolderEntity : public KnotHolderEntity {
public:
PointParamKnotHolderEntity(PointParam *p) { this->pparam = p; }
virtual ~PointParamKnotHolderEntity() {}
diff --git a/src/live_effects/parameter/vector.cpp b/src/live_effects/parameter/vector.cpp
index e8725c4b2..21a7222a6 100644
--- a/src/live_effects/parameter/vector.cpp
+++ b/src/live_effects/parameter/vector.cpp
@@ -137,7 +137,7 @@ VectorParam::set_origin_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mod
ori_knot_color = color;
}
-class VectorParamKnotHolderEntity_Origin : public LPEKnotHolderEntity {
+class VectorParamKnotHolderEntity_Origin : public KnotHolderEntity {
public:
VectorParamKnotHolderEntity_Origin(VectorParam *p) : param(p) { }
virtual ~VectorParamKnotHolderEntity_Origin() {}
@@ -158,7 +158,7 @@ private:
VectorParam *param;
};
-class VectorParamKnotHolderEntity_Vector : public LPEKnotHolderEntity {
+class VectorParamKnotHolderEntity_Vector : public KnotHolderEntity {
public:
VectorParamKnotHolderEntity_Vector(VectorParam *p) : param(p) { }
virtual ~VectorParamKnotHolderEntity_Vector() {}