From 88f4b0093529c35964c39b589a0b614ad231d02c Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Wed, 4 Jun 2008 12:19:54 +0000 Subject: C++ify knotholders (bzr r5797) --- src/vanishing-point.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vanishing-point.cpp') 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(); } } -- cgit v1.2.3