diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-04-26 21:39:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-04-27 12:40:23 +0200 |
commit | 9207516888e73398599a9890af78cd677ddd0992 (patch) | |
tree | 909462464b94084174b3cf9133d8cdd14db91ca1 /vcl/unx/gtk3 | |
parent | af50621c2cc17414b52a5f4cbc2f65e1b685e252 (diff) |
Resolves: tdf#124980 drop dangling timer
Change-Id: I05ec394ee83f0422ecccf3ae3377818af6feb1d1
Reviewed-on: https://gerrit.libreoffice.org/71398
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/gtk3')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index 895370bf660a..5f2884186c02 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -9041,6 +9041,8 @@ public: virtual ~GtkInstanceEntryTreeView() override { + if (m_nAutoCompleteIdleId) + g_source_remove(m_nAutoCompleteIdleId); GtkWidget* pWidget = m_pEntry->getWidget(); g_signal_handler_disconnect(pWidget, m_nKeyPressSignalId); g_signal_handler_disconnect(pWidget, m_nEntryInsertTextSignalId); |