summaryrefslogtreecommitdiffstats
path: root/src/rect-context.cpp
diff options
context:
space:
mode:
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;