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/rect-context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rect-context.cpp') diff --git a/src/rect-context.cpp b/src/rect-context.cpp index f93ddf6c3..23c4794c1 100644 --- a/src/rect-context.cpp +++ b/src/rect-context.cpp @@ -159,7 +159,7 @@ void SPRectContext::set(const Inkscape::Preferences::Entry& val) { } } -gint SPRectContext::item_handler(SPItem* item, GdkEvent* event) { +bool SPRectContext::item_handler(SPItem* item, GdkEvent* event) { gint ret = FALSE; switch (event->type) { @@ -181,7 +181,7 @@ gint SPRectContext::item_handler(SPItem* item, GdkEvent* event) { return ret; } -gint SPRectContext::root_handler(GdkEvent* event) { +bool SPRectContext::root_handler(GdkEvent* event) { static bool dragging; SPDesktop *desktop = this->desktop; -- cgit v1.2.3