diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-08-01 17:45:13 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-08-01 17:45:13 +0000 |
| commit | 55788b44d28d38dfd0165a87c8d61c265eab4557 (patch) | |
| tree | 70cd1d51735400d3aaccfc03cee2f07af9f51d88 /src/live_effects/parameter/pointparam-knotholder.cpp | |
| parent | simplify code (diff) | |
| download | inkscape-55788b44d28d38dfd0165a87c8d61c265eab4557.tar.gz inkscape-55788b44d28d38dfd0165a87c8d61c265eab4557.zip | |
change knot.h to Geom::Point only instead of NR::Point.
(bzr r6511)
Diffstat (limited to 'src/live_effects/parameter/pointparam-knotholder.cpp')
| -rw-r--r-- | src/live_effects/parameter/pointparam-knotholder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/parameter/pointparam-knotholder.cpp b/src/live_effects/parameter/pointparam-knotholder.cpp index d92532e32..42601c170 100644 --- a/src/live_effects/parameter/pointparam-knotholder.cpp +++ b/src/live_effects/parameter/pointparam-knotholder.cpp @@ -93,7 +93,7 @@ PointParamKnotHolder::add_knot ( // Move to current point. NR::Point dp = p * from_2geom(sp_item_i2d_affine(item)); - sp_knot_set_position(e->knot, &dp, SP_KNOT_STATE_NORMAL); + sp_knot_set_position(e->knot, dp, SP_KNOT_STATE_NORMAL); e->handler_id = g_signal_connect(e->knot, "moved", G_CALLBACK(pointparam_knot_moved_handler), this); e->_click_handler_id = g_signal_connect(e->knot, "clicked", G_CALLBACK(pointparam_knot_clicked_handler), this); |
