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/pencil-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pencil-context.cpp') diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index cd0f9be7f..01f3020fd 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -520,7 +520,7 @@ pencil_handle_key_press(SPPencilContext *const pc, guint const keyval, guint con case GDK_g: case GDK_G: if (mod_shift_only(state)) { - sp_selection_to_guides(); + sp_selection_to_guides(SP_EVENT_CONTEXT(pc)->desktop); ret = true; } break; -- cgit v1.2.3