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/box3d-context.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/box3d-context.cpp') diff --git a/src/box3d-context.cpp b/src/box3d-context.cpp index 6f3b6ee51..393340cc4 100644 --- a/src/box3d-context.cpp +++ b/src/box3d-context.cpp @@ -40,7 +40,6 @@ #include "xml/node-event-vector.h" #include "prefs-utils.h" #include "context-fns.h" -#include "inkscape.h" #include "desktop-style.h" #include "transf_mat_3x4.h" #include "perspective-line.h" @@ -497,7 +496,7 @@ static gint sp_box3d_context_root_handler(SPEventContext *event_context, GdkEven case GDK_g: case GDK_G: if (MOD__SHIFT_ONLY) { - sp_selection_to_guides(); + sp_selection_to_guides(desktop); ret = true; } break; -- cgit v1.2.3