summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-26 21:39:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-04-29 13:11:35 +0200
commit8eb4ad0529c5efedf95c7220b6b8b9aad63e3ea4 (patch)
treee3fb9f7b3f314d361fe509523b7e97403c7834ce /vcl/unx
parent01806eb7b96a79e3265e6ef8172e427226884574 (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> (cherry picked from commit 9207516888e73398599a9890af78cd677ddd0992) Reviewed-on: https://gerrit.libreoffice.org/71411 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 18d897cbba4b..caec6ba5ac6c 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -7505,6 +7505,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);