summaryrefslogtreecommitdiffstats
path: root/src/gradient-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gradient-context.cpp')
-rw-r--r--src/gradient-context.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gradient-context.cpp b/src/gradient-context.cpp
index 4fa1f263d..1e9bef354 100644
--- a/src/gradient-context.cpp
+++ b/src/gradient-context.cpp
@@ -475,7 +475,7 @@ sp_gradient_context_add_stop_near_point (SPGradientContext *rc, SPItem *item, G
ec->get_drag()->selectByStop(newstop);
}
-gint SPGradientContext::root_handler(GdkEvent* event) {
+bool SPGradientContext::root_handler(GdkEvent* event) {
static bool dragging;
Inkscape::Selection *selection = sp_desktop_selection (desktop);
@@ -608,11 +608,11 @@ gint SPGradientContext::root_handler(GdkEvent* event) {
if (this->cursor_addnode && !over_line) {
this->cursor_shape = cursor_gradient_xpm;
- sp_event_context_update_cursor(this);
+ this->sp_event_context_update_cursor();
this->cursor_addnode = false;
} else if (!this->cursor_addnode && over_line) {
this->cursor_shape = cursor_gradient_add_xpm;
- sp_event_context_update_cursor(this);
+ this->sp_event_context_update_cursor();
this->cursor_addnode = true;
}
}