diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-26 15:11:07 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-26 15:11:07 +0000 |
| commit | 630be8274013c5eef5f19e19a14bc6d759aada5a (patch) | |
| tree | 6774d8db433426ab8361e18638869ad2336bf705 /src/ui/tools/measure-tool.cpp | |
| parent | Rename wrong named function (diff) | |
| download | inkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.tar.gz inkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.zip | |
Rm unused code now Gtk+ >= 3.22 dependency is set
Diffstat (limited to 'src/ui/tools/measure-tool.cpp')
| -rw-r--r-- | src/ui/tools/measure-tool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp index e2dae85a5..6633cdd64 100644 --- a/src/ui/tools/measure-tool.cpp +++ b/src/ui/tools/measure-tool.cpp @@ -491,7 +491,7 @@ void MeasureTool::finish() this->enableGrDrag(false); if (this->grabbed) { - sp_canvas_item_ungrab(this->grabbed, GDK_CURRENT_TIME); + sp_canvas_item_ungrab(this->grabbed); this->grabbed = nullptr; } @@ -655,7 +655,7 @@ bool MeasureTool::root_handler(GdkEvent* event) showCanvasItems(); if (this->grabbed) { - sp_canvas_item_ungrab(this->grabbed, event->button.time); + sp_canvas_item_ungrab(this->grabbed); this->grabbed = nullptr; } break; |
