diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2013-04-28 22:48:03 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2013-04-28 22:48:03 +0000 |
| commit | 192d134e8283fadf349eb41d66f63206c98c33d1 (patch) | |
| tree | 11f47ff079215d7be226df5a84fcc75c9fcbf3e4 /src/zoom-context.cpp | |
| parent | Warning cleanup. (diff) | |
| download | inkscape-192d134e8283fadf349eb41d66f63206c98c33d1.tar.gz inkscape-192d134e8283fadf349eb41d66f63206c98c33d1.zip | |
Temporily fix abiguous macros before later removal.
(bzr r12310)
Diffstat (limited to 'src/zoom-context.cpp')
| -rw-r--r-- | src/zoom-context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zoom-context.cpp b/src/zoom-context.cpp index 7a5e4f90e..8b06c3e08 100644 --- a/src/zoom-context.cpp +++ b/src/zoom-context.cpp @@ -205,7 +205,7 @@ static gint sp_zoom_context_root_handler(SPEventContext *event_context, GdkEvent case GDK_KEY_KP_Up: case GDK_KEY_KP_Down: // prevent the zoom field from activation - if (!MOD__CTRL_ONLY) + if (!MOD__CTRL_ONLY(event)) ret = TRUE; break; case GDK_KEY_Shift_L: @@ -216,7 +216,7 @@ static gint sp_zoom_context_root_handler(SPEventContext *event_context, GdkEvent case GDK_KEY_Delete: case GDK_KEY_KP_Delete: case GDK_KEY_BackSpace: - ret = event_context->deleteSelectedDrag(MOD__CTRL_ONLY); + ret = event_context->deleteSelectedDrag(MOD__CTRL_ONLY(event)); break; default: |
