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/star-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/star-context.cpp')
| -rw-r--r-- | src/star-context.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/star-context.cpp b/src/star-context.cpp index e2d6961f0..5fb33a180 100644 --- a/src/star-context.cpp +++ b/src/star-context.cpp @@ -326,12 +326,12 @@ static gint sp_star_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-star"); ret = TRUE; } @@ -361,7 +361,7 @@ static gint sp_star_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: |
