summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-08-14 21:33:11 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-08-14 21:33:11 +0000
commit181d1e66302e2a6296f228a74e4840b797b5eba7 (patch)
tree0315e36d536286e813d19018f47eec191496948e /src/pencil-context.cpp
parentRemove further instances of SP_ACTIVE_DESKTOP (diff)
downloadinkscape-181d1e66302e2a6296f228a74e4840b797b5eba7.tar.gz
inkscape-181d1e66302e2a6296f228a74e4840b797b5eba7.zip
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)
Diffstat (limited to 'src/pencil-context.cpp')
-rw-r--r--src/pencil-context.cpp2
1 files changed, 1 insertions, 1 deletions
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;