From a6af18cb440bbe220eb28c8c432bc024ba4a37c4 Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Sat, 12 Oct 2013 13:22:26 +0200 Subject: Fix crash with experimental lpe tool. Fixed bugs: - https://launchpad.net/bugs/1238357 (bzr r12678) --- src/lpe-tool-context.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lpe-tool-context.cpp') 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; -- cgit v1.2.3