summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/text-tool.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2019-05-26 15:11:07 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2019-05-26 15:11:07 +0000
commit630be8274013c5eef5f19e19a14bc6d759aada5a (patch)
tree6774d8db433426ab8361e18638869ad2336bf705 /src/ui/tools/text-tool.cpp
parentRename wrong named function (diff)
downloadinkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.tar.gz
inkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.zip
Rm unused code now Gtk+ >= 3.22 dependency is set
Diffstat (limited to 'src/ui/tools/text-tool.cpp')
-rw-r--r--src/ui/tools/text-tool.cpp8
1 files changed, 4 insertions, 4 deletions
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();