summaryrefslogtreecommitdiffstats
path: root/src/tweak-context.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-07-30 21:17:21 +0000
committerMarkus Engel <markus.engel@tum.de>2013-07-30 21:17:21 +0000
commitb2dd3583e7372d23d18bbc6e861f4f645ec3dc37 (patch)
tree659f5549fc533cebec5326615b6e385ffdde5453 /src/tweak-context.cpp
parentMerge from trunk (r12439). (diff)
downloadinkscape-b2dd3583e7372d23d18bbc6e861f4f645ec3dc37.tar.gz
inkscape-b2dd3583e7372d23d18bbc6e861f4f645ec3dc37.zip
Further refactoring of EventContexts.
(bzr r11608.1.109)
Diffstat (limited to 'src/tweak-context.cpp')
-rw-r--r--src/tweak-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp
index 4e842abbb..74e2e12e2 100644
--- a/src/tweak-context.cpp
+++ b/src/tweak-context.cpp
@@ -258,7 +258,7 @@ sp_tweak_update_cursor (SPTweakContext *tc, bool with_shift)
event_context->cursor_shape = cursor_color_xpm;
break;
}
- sp_event_context_update_cursor(event_context);
+ event_context->sp_event_context_update_cursor();
g_free(sel_message);
}
@@ -1154,7 +1154,7 @@ sp_tweak_switch_mode_temporarily (SPTweakContext *tc, gint mode, bool with_shift
sp_tweak_update_cursor (tc, with_shift);
}
-gint SPTweakContext::root_handler(GdkEvent* event) {
+bool SPTweakContext::root_handler(GdkEvent* event) {
gint ret = FALSE;
switch (event->type) {