From 630be8274013c5eef5f19e19a14bc6d759aada5a Mon Sep 17 00:00:00 2001 From: Alexander Valavanis Date: Sun, 26 May 2019 16:11:07 +0100 Subject: Rm unused code now Gtk+ >= 3.22 dependency is set --- src/ui/tools/text-tool.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui/tools/text-tool.cpp') diff --git a/src/ui/tools/text-tool.cpp b/src/ui/tools/text-tool.cpp index f27f37300..18fefa508 100644 --- a/src/ui/tools/text-tool.cpp +++ b/src/ui/tools/text-tool.cpp @@ -109,7 +109,7 @@ TextTool::~TextTool() { this->shape_editor = nullptr; if (this->grabbed) { - sp_canvas_item_ungrab(this->grabbed, GDK_CURRENT_TIME); + sp_canvas_item_ungrab(this->grabbed); this->grabbed = nullptr; } @@ -611,7 +611,7 @@ bool TextTool::root_handler(GdkEvent* event) { m.unSetup(); if (this->grabbed) { - sp_canvas_item_ungrab(this->grabbed, GDK_CURRENT_TIME); + sp_canvas_item_ungrab(this->grabbed); this->grabbed = nullptr; } @@ -1134,7 +1134,7 @@ bool TextTool::root_handler(GdkEvent* event) { if (this->creating) { this->creating = false; if (this->grabbed) { - sp_canvas_item_ungrab(this->grabbed, GDK_CURRENT_TIME); + sp_canvas_item_ungrab(this->grabbed); this->grabbed = nullptr; } Inkscape::Rubberband::get(desktop)->stop(); @@ -1256,7 +1256,7 @@ bool TextTool::root_handler(GdkEvent* event) { if (this->creating) { this->creating = false; if (this->grabbed) { - sp_canvas_item_ungrab(this->grabbed, GDK_CURRENT_TIME); + sp_canvas_item_ungrab(this->grabbed); this->grabbed = nullptr; } Inkscape::Rubberband::get(desktop)->stop(); -- cgit v1.2.3