From 181d1e66302e2a6296f228a74e4840b797b5eba7 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Thu, 14 Aug 2008 21:33:11 +0000 Subject: Get rid of a whole bunch of further instances of SP_ACTIVE_DESKTOP (where the desktop is readily available in the calling function) (bzr r6629) --- src/eraser-context.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/eraser-context.cpp') diff --git a/src/eraser-context.cpp b/src/eraser-context.cpp index f6df71dc2..9a8e07e66 100644 --- a/src/eraser-context.cpp +++ b/src/eraser-context.cpp @@ -51,7 +51,6 @@ #include "xml/repr.h" #include "context-fns.h" #include "sp-item.h" -#include "inkscape.h" #include "color.h" #include "rubberband.h" #include "splivarot.h" @@ -802,7 +801,7 @@ set_to_accumulated(SPEraserContext *dc) g_slist_free(toWorkOn); if ( !eraserMode ) { - //sp_selection_delete(); + //sp_selection_delete(desktop); remainingItems.clear(); } -- cgit v1.2.3