summaryrefslogtreecommitdiffstats
path: root/src/rect-context.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2013-04-28 22:48:03 +0000
committerJon A. Cruz <jon@joncruz.org>2013-04-28 22:48:03 +0000
commit192d134e8283fadf349eb41d66f63206c98c33d1 (patch)
tree11f47ff079215d7be226df5a84fcc75c9fcbf3e4 /src/rect-context.cpp
parentWarning cleanup. (diff)
downloadinkscape-192d134e8283fadf349eb41d66f63206c98c33d1.tar.gz
inkscape-192d134e8283fadf349eb41d66f63206c98c33d1.zip
Temporily fix abiguous macros before later removal.
(bzr r12310)
Diffstat (limited to 'src/rect-context.cpp')
-rw-r--r--src/rect-context.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rect-context.cpp b/src/rect-context.cpp
index 040127ae3..06745564f 100644
--- a/src/rect-context.cpp
+++ b/src/rect-context.cpp
@@ -359,13 +359,13 @@ static gint sp_rect_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-rect");
ret = TRUE;
}
@@ -373,7 +373,7 @@ static gint sp_rect_context_root_handler(SPEventContext *event_context, GdkEvent
case GDK_KEY_g:
case GDK_KEY_G:
- if (MOD__SHIFT_ONLY) {
+ if (MOD__SHIFT_ONLY(event)) {
sp_selection_to_guides(desktop);
ret = true;
}
@@ -406,7 +406,7 @@ static gint sp_rect_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: