summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/rotateable.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-08-04 22:32:05 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-08-04 22:32:05 +0000
commit176622db4325921b8a52e4d4605452ef9ce41e5f (patch)
tree255086561d52361e075bafe4e452755f2e745d00 /src/ui/widget/rotateable.cpp
parentWhile drawing and constraining to specific angles (using CTRL): don't try a f... (diff)
downloadinkscape-176622db4325921b8a52e4d4605452ef9ce41e5f.tar.gz
inkscape-176622db4325921b8a52e4d4605452ef9ce41e5f.zip
NR:: => Geom:: for much of src/ui and src/widgets
(bzr r6561)
Diffstat (limited to 'src/ui/widget/rotateable.cpp')
-rw-r--r--src/ui/widget/rotateable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/rotateable.cpp b/src/ui/widget/rotateable.cpp
index 8615df7a9..396280aee 100644
--- a/src/ui/widget/rotateable.cpp
+++ b/src/ui/widget/rotateable.cpp
@@ -86,7 +86,7 @@ guint Rotateable::get_single_modifier(guint old, guint state) {
bool Rotateable::on_motion(GdkEventMotion *event) {
if (dragging) {
- double dist = NR::L2(NR::Point(event->x, event->y) - NR::Point(drag_started_x, drag_started_y));
+ double dist = Geom::L2(Geom::Point(event->x, event->y) - Geom::Point(drag_started_x, drag_started_y));
double angle = atan2(event->y - drag_started_y, event->x - drag_started_x);
if (dist > 20) {
working = true;