diff --git a/src/zoom-context.cpp b/src/zoom-context.cpp
index 8c6400189a59816420aa5fb9bb6c4952d286bf1b..1d14d20cd2e039e3dbb4afc06e549106bdf104c1 100644 (file)
--- a/src/zoom-context.cpp
+++ b/src/zoom-context.cpp
@@ -174,7 +174,7 @@ static gint sp_zoom_context_root_handler(SPEventContext *event_context, GdkEvent
NR::Point const button_w(event->button.x, event->button.y);
NR::Point const button_dt(desktop->w2d(button_w));
if ( event->button.button == 1 && !event_context->space_panning) {
- boost::optional<NR::Rect> const b = Inkscape::Rubberband::get(desktop)->getRectangle();
+ boost::optional<Geom::Rect> const b = Inkscape::Rubberband::get(desktop)->getRectangle();
if (b && !within_tolerance) {
desktop->set_display_area(*b, 10);
} else if (!escaped) {