diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2016-01-16 16:02:31 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2016-01-16 16:02:31 +0000 |
| commit | ca7ec64d602955b849c5cecb21b1ebce90bdbb02 (patch) | |
| tree | e2caabfde06c7698039b087e05674d583a5d767d /src/sp-guide.cpp | |
| parent | cmake: Cleanup old svn commented out bits (diff) | |
| parent | Header cleanup (diff) | |
| download | inkscape-ca7ec64d602955b849c5cecb21b1ebce90bdbb02.tar.gz inkscape-ca7ec64d602955b849c5cecb21b1ebce90bdbb02.zip | |
Merge branch fix-1526701
(bzr r14592)
Diffstat (limited to 'src/sp-guide.cpp')
| -rw-r--r-- | src/sp-guide.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-guide.cpp b/src/sp-guide.cpp index a57947e01..d1e101fd5 100644 --- a/src/sp-guide.cpp +++ b/src/sp-guide.cpp @@ -289,7 +289,7 @@ void SPGuide::showSPGuide() for(std::vector<SPGuideLine *>::const_iterator it = this->views.begin(); it != this->views.end(); ++it) { sp_canvas_item_show(SP_CANVAS_ITEM(*it)); if((*it)->origin) { - (*it)->origin->show(); + sp_canvas_item_show(SP_CANVAS_ITEM((*it)->origin)); } else { //reposition to same place to show knots sp_guideline_set_position(*it, point_on_line); @@ -317,7 +317,7 @@ void SPGuide::hideSPGuide() for(std::vector<SPGuideLine *>::const_iterator it = this->views.begin(); it != this->views.end(); ++it) { sp_canvas_item_hide(SP_CANVAS_ITEM(*it)); if ((*it)->origin) { - (*it)->origin->hide(); + sp_canvas_item_hide(SP_CANVAS_ITEM((*it)->origin)); } } } |
