diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-08-14 21:33:11 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-08-14 21:33:11 +0000 |
| commit | 181d1e66302e2a6296f228a74e4840b797b5eba7 (patch) | |
| tree | 0315e36d536286e813d19018f47eec191496948e /src/pen-context.cpp | |
| parent | Remove further instances of SP_ACTIVE_DESKTOP (diff) | |
| download | inkscape-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/pen-context.cpp')
| -rw-r--r-- | src/pen-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pen-context.cpp b/src/pen-context.cpp index 30b09013b..3cc7cc0d6 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -1097,7 +1097,7 @@ pen_handle_key_press(SPPenContext *const pc, GdkEvent *event) case GDK_g: case GDK_G: if (MOD__SHIFT_ONLY) { - sp_selection_to_guides(); + sp_selection_to_guides(SP_EVENT_CONTEXT(pc)->desktop); ret = true; } break; |
