diff options
| author | Denis Declara <declara91@gmail.com> | 2012-05-05 13:32:42 +0000 |
|---|---|---|
| committer | Denis Declara <declara91@gmail.com> | 2012-05-05 13:32:42 +0000 |
| commit | aeb9c1bde66de096910757abb17dedb94ad74207 (patch) | |
| tree | c0adf97685b0fa8af1553b14d20601f280492762 /src/shape-editor.cpp | |
| parent | Fixed some math, so that the objects now line up correctly (diff) | |
| parent | Adding checks to prevent null pointer dereferences (diff) | |
| download | inkscape-aeb9c1bde66de096910757abb17dedb94ad74207.tar.gz inkscape-aeb9c1bde66de096910757abb17dedb94ad74207.zip | |
Trunk merge
(bzr r11073.1.29)
Diffstat (limited to 'src/shape-editor.cpp')
| -rw-r--r-- | src/shape-editor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp index 2034b9d2d..f2339770c 100644 --- a/src/shape-editor.cpp +++ b/src/shape-editor.cpp @@ -33,6 +33,8 @@ #include "shape-editor.h" +using Inkscape::createKnotHolder; + ShapeEditor::ShapeEditor(SPDesktop *dt) { this->desktop = dt; this->knotholder = NULL; @@ -184,7 +186,7 @@ void ShapeEditor::set_item(SPItem *item, SubType type, bool keep_knotholder) { case SH_KNOTHOLDER: if (!this->knotholder) { // only recreate knotholder if none is present - this->knotholder = sp_item_knot_holder(item, desktop); + this->knotholder = createKnotHolder(item, desktop); } if (this->knotholder) { this->knotholder->update_knots(); |
