summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/text-tool.cpp
diff options
context:
space:
mode:
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();