diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-07-26 17:11:51 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-07-26 17:11:51 +0000 |
| commit | cc73219a498e87298578996011b80680214f7a96 (patch) | |
| tree | 40d0e91da69ff1ceafe2bc9377cdfc137174fafb /src/ui/tools/star-tool.cpp | |
| parent | Read HSL color (CSS Color Module Level 3). (diff) | |
| download | inkscape-cc73219a498e87298578996011b80680214f7a96.tar.gz inkscape-cc73219a498e87298578996011b80680214f7a96.zip | |
Clean up some ShapeHolder related things
(bzr r13341.1.100)
Diffstat (limited to 'src/ui/tools/star-tool.cpp')
| -rw-r--r-- | src/ui/tools/star-tool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/tools/star-tool.cpp b/src/ui/tools/star-tool.cpp index 68f998920..ed28c0a8d 100644 --- a/src/ui/tools/star-tool.cpp +++ b/src/ui/tools/star-tool.cpp @@ -112,8 +112,8 @@ StarTool::~StarTool() { void StarTool::selection_changed(Inkscape::Selection* selection) { g_assert (selection != NULL); - this->shape_editor->unset_item(SH_KNOTHOLDER); - this->shape_editor->set_item(selection->singleItem(), SH_KNOTHOLDER); + this->shape_editor->unset_item(); + this->shape_editor->set_item(selection->singleItem()); } void StarTool::setup() { @@ -129,7 +129,7 @@ void StarTool::setup() { SPItem *item = sp_desktop_selection(this->desktop)->singleItem(); if (item) { - this->shape_editor->set_item(item, SH_KNOTHOLDER); + this->shape_editor->set_item(item); } Inkscape::Selection *selection = sp_desktop_selection(this->desktop); |
