From b2dd3583e7372d23d18bbc6e861f4f645ec3dc37 Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Tue, 30 Jul 2013 23:17:21 +0200 Subject: Further refactoring of EventContexts. (bzr r11608.1.109) --- src/select-context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/select-context.cpp') 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; -- cgit v1.2.3