summaryrefslogtreecommitdiffstats
path: root/src/vanishing-point.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-06-04 12:19:54 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-06-04 12:19:54 +0000
commit88f4b0093529c35964c39b589a0b614ad231d02c (patch)
treec0c2cf46cdd788415efe2e15e398779b24607b8a /src/vanishing-point.cpp
parentAdded tool style for eraser. (diff)
downloadinkscape-88f4b0093529c35964c39b589a0b614ad231d02c.tar.gz
inkscape-88f4b0093529c35964c39b589a0b614ad231d02c.zip
C++ify knotholders
(bzr r5797)
Diffstat (limited to 'src/vanishing-point.cpp')
-rw-r--r--src/vanishing-point.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vanishing-point.cpp b/src/vanishing-point.cpp
index c781f8e4d..9688b8501 100644
--- a/src/vanishing-point.cpp
+++ b/src/vanishing-point.cpp
@@ -22,7 +22,7 @@
#include "xml/repr.h"
#include "perspective-line.h"
-#include "knotholder.h" // FIXME: can we avoid direct access to knotholder_update_knots?
+#include "knotholder.h" // FIXME: can we avoid direct access to KnotHolder::update_knots?
namespace Box3D {
@@ -601,7 +601,7 @@ void
VPDrag::updateBoxHandles ()
{
// FIXME: Is there a way to update the knots without accessing the
- // (previously) statically linked function knotholder_update_knots?
+ // (previously) statically linked function KnotHolder::update_knots?
GSList *sel = (GSList *) selection->itemList();
if (!sel)
@@ -615,7 +615,7 @@ VPDrag::updateBoxHandles ()
SPEventContext *ec = inkscape_active_event_context();
g_assert (ec != NULL);
if (ec->shape_knot_holder != NULL) {
- knotholder_update_knots(ec->shape_knot_holder, (SPItem *) sel->data);
+ ec->shape_knot_holder->update_knots();
}
}