summaryrefslogtreecommitdiffstats
path: root/src/rect-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/rect-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/rect-context.cpp')
-rw-r--r--src/rect-context.cpp4
1 files changed, 2 insertions, 2 deletions
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;