summaryrefslogtreecommitdiffstats
path: root/src/star-context.cpp
diff options
context:
space:
mode:
authorJoshua L. Blocher <verbalshadow@gmail.com>2008-12-04 01:28:36 +0000
committerverbalshadow <verbalshadow@users.sourceforge.net>2008-12-04 01:28:36 +0000
commitdcf1d3e407baec634caf6a3cc05636a28678bb5e (patch)
treeb7161e006a7d8e21a6d3772e2ea75fc29c4d6be7 /src/star-context.cpp
parentFix compile when lcms is disabled (diff)
downloadinkscape-dcf1d3e407baec634caf6a3cc05636a28678bb5e.tar.gz
inkscape-dcf1d3e407baec634caf6a3cc05636a28678bb5e.zip
NR -> 2geom some headers in src/
(bzr r6935)
Diffstat (limited to 'src/star-context.cpp')
-rw-r--r--src/star-context.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/star-context.cpp b/src/star-context.cpp
index 6bb0a6f2d..a18170346 100644
--- a/src/star-context.cpp
+++ b/src/star-context.cpp
@@ -54,7 +54,7 @@ static void sp_star_context_setup (SPEventContext *ec);
static void sp_star_context_set (SPEventContext *ec, Inkscape::Preferences::Entry *val);
static gint sp_star_context_root_handler (SPEventContext *ec, GdkEvent *event);
-static void sp_star_drag (SPStarContext * sc, NR::Point p, guint state);
+static void sp_star_drag (SPStarContext * sc, Geom::Point p, guint state);
static void sp_star_finish (SPStarContext * sc);
static SPEventContextClass * parent_class;
@@ -308,8 +308,8 @@ static gint sp_star_context_root_handler(SPEventContext *event_context, GdkEvent
// motion notify coordinates as given (no snapping back to origin)
event_context->within_tolerance = false;
- NR::Point const motion_w(event->motion.x, event->motion.y);
- NR::Point motion_dt(desktop->w2d(motion_w));
+ Geom::Point const motion_w(event->motion.x, event->motion.y);
+ Geom::Point motion_dt(desktop->w2d(motion_w));
sp_star_drag (sc, motion_dt, event->motion.state);
@@ -421,7 +421,7 @@ static gint sp_star_context_root_handler(SPEventContext *event_context, GdkEvent
return ret;
}
-static void sp_star_drag(SPStarContext *sc, NR::Point p, guint state)
+static void sp_star_drag(SPStarContext *sc, Geom::Point p, guint state)
{
SPDesktop *desktop = SP_EVENT_CONTEXT(sc)->desktop;