summaryrefslogtreecommitdiffstats
path: root/src/select-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/select-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/select-context.cpp')
-rw-r--r--src/select-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/select-context.cpp b/src/select-context.cpp
index 4badac3d8..efedb23e2 100644
--- a/src/select-context.cpp
+++ b/src/select-context.cpp
@@ -277,7 +277,7 @@ sp_select_context_up_one_layer(SPDesktop *desktop)
}
}
-gint SPSelectContext::item_handler(SPItem* item, GdkEvent* event) {
+bool SPSelectContext::item_handler(SPItem* item, GdkEvent* event) {
gint ret = FALSE;
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
@@ -455,7 +455,7 @@ sp_select_context_reset_opacities(SPEventContext *event_context)
sc->cycling_items_cmp = NULL;
}
-gint SPSelectContext::root_handler(GdkEvent* event) {
+bool SPSelectContext::root_handler(GdkEvent* event) {
SPItem *item = NULL;
SPItem *item_at_point = NULL, *group_at_point = NULL, *item_in_group = NULL;
gint ret = FALSE;