summaryrefslogtreecommitdiffstats
path: root/src/lpe-tool-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpe-tool-context.cpp')
-rw-r--r--src/lpe-tool-context.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lpe-tool-context.cpp b/src/lpe-tool-context.cpp
index edc9a6930..0b71a892c 100644
--- a/src/lpe-tool-context.cpp
+++ b/src/lpe-tool-context.cpp
@@ -191,8 +191,7 @@ bool SPLPEToolContext::root_handler(GdkEvent* event) {
if (sp_pen_context_has_waiting_LPE(this)) {
// quit when we are waiting for a LPE to be applied
//ret = ((SPEventContextClass *) sp_lpetool_context_parent_class)->root_handler(event_context, event);
- ret = this->root_handler(event);
- return ret;
+ return SPPenContext::root_handler(event);
}
switch (event->type) {
@@ -224,7 +223,7 @@ bool SPLPEToolContext::root_handler(GdkEvent* event) {
// we pass the mouse click on to pen tool as the first click which it should collect
//ret = ((SPEventContextClass *) sp_lpetool_context_parent_class)->root_handler(event_context, event);
- ret = this->root_handler(event);
+ ret = SPPenContext::root_handler(event);
}
break;