[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Apr 27 10:41:46 UTC 2019


 vcl/unx/gtk3/gtk3gtkinst.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 9207516888e73398599a9890af78cd677ddd0992
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Apr 26 21:39:09 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Apr 27 12:40:23 2019 +0200

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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);


More information about the Libreoffice-commits mailing list