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/arc-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/arc-context.cpp')
| -rw-r--r-- | src/arc-context.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arc-context.cpp b/src/arc-context.cpp index b5bdf58ef..34e4bbeab 100644 --- a/src/arc-context.cpp +++ b/src/arc-context.cpp @@ -314,12 +314,12 @@ static gint sp_arc_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_x: case GDK_KEY_X: - if (MOD__ALT_ONLY) { + if (MOD__ALT_ONLY(event)) { desktop->setToolboxFocusTo ("altx-arc"); ret = TRUE; } @@ -349,7 +349,7 @@ static gint sp_arc_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: |
