summaryrefslogtreecommitdiffstats
path: root/src/desktop-handles.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2012-12-16 05:41:25 +0000
committer~suv <suv-sf@users.sourceforge.net>2012-12-16 05:41:25 +0000
commit7ec903c9898f872dbd9426ed7a62e1969fdb7be7 (patch)
treea306139e829118a83516af02279c9eafd3440eaa /src/desktop-handles.cpp
parentHershey Text: whitespace; py: docstring, modeline; inx: fix attribute value (diff)
parentTranslations.Spanish translation update by Lucas Vieites. (diff)
downloadinkscape-7ec903c9898f872dbd9426ed7a62e1969fdb7be7.tar.gz
inkscape-7ec903c9898f872dbd9426ed7a62e1969fdb7be7.zip
merge from trunk (r11955)
(bzr r11687.1.3)
Diffstat (limited to 'src/desktop-handles.cpp')
-rw-r--r--src/desktop-handles.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/desktop-handles.cpp b/src/desktop-handles.cpp
index d35df6454..f7ffbed70 100644
--- a/src/desktop-handles.cpp
+++ b/src/desktop-handles.cpp
@@ -13,6 +13,7 @@
#include "display/sp-canvas.h"
#include "display/sp-canvas-item.h"
#include "desktop.h"
+#include "desktop-handles.h"
SPEventContext *
sp_desktop_event_context (SPDesktop const * desktop)
@@ -43,7 +44,7 @@ sp_desktop_canvas (SPDesktop const * desktop)
{
g_return_val_if_fail (desktop != NULL, NULL);
- return ((SPCanvasItem *) desktop->main)->canvas;
+ return (SP_CANVAS_ITEM(desktop->main))->canvas;
}
SPCanvasItem *