summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/freehand-base.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/freehand-base.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/freehand-base.cpp')
-rw-r--r--src/ui/tools/freehand-base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tools/freehand-base.cpp b/src/ui/tools/freehand-base.cpp
index c211fc8ec..4f9db3e2b 100644
--- a/src/ui/tools/freehand-base.cpp
+++ b/src/ui/tools/freehand-base.cpp
@@ -103,7 +103,7 @@ FreehandBase::FreehandBase(gchar const *const *cursor_shape)
FreehandBase::~FreehandBase() {
if (this->grab) {
- sp_canvas_item_ungrab(this->grab, GDK_CURRENT_TIME);
+ sp_canvas_item_ungrab(this->grab);
this->grab = nullptr;
}
@@ -160,7 +160,7 @@ void FreehandBase::finish() {
this->sel_modified_connection.disconnect();
if (this->grab) {
- sp_canvas_item_ungrab(this->grab, GDK_CURRENT_TIME);
+ sp_canvas_item_ungrab(this->grab);
}
if (this->selection) {