From 3198928b491fb91cdd177505c051659f89aa4158 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Wed, 2 May 2012 19:06:15 -0700 Subject: Adding base configurable sizing of controls/handles. (bzr r11316) --- src/shape-editor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/shape-editor.cpp') 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(); -- cgit v1.2.3