vcl/unx/gtk3/gtk3gtkinst.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 145280ffd1dabdc629c14c8162beef668741bcef
Author: Noel Grandin <[email protected]>
AuthorDate: Sat Dec 8 20:41:53 2018 +0200
Commit: Noel Grandin <[email protected]>
CommitDate: Sun Dec 9 07:17:53 2018 +0100
missing g_signal_handler_disconnect in GtkInstanceWidget
found by loplugin:unusedfields
Change-Id: Iefd64e879b32f696456c51da595e462295e5c58e
Reviewed-on: https://gerrit.libreoffice.org/64820
Tested-by: Jenkins
Reviewed-by: Noel Grandin <[email protected]>
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index ebf175b3e0eb..028462532918 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -1606,6 +1606,8 @@ public:
{
if (m_nKeyPressSignalId)
g_signal_handler_disconnect(m_pWidget, m_nKeyPressSignalId);
+ if (m_nKeyReleaseSignalId)
+ g_signal_handler_disconnect(m_pWidget, m_nKeyReleaseSignalId);
if (m_nFocusInSignalId)
g_signal_handler_disconnect(m_pWidget, m_nFocusInSignalId);
if (m_nFocusOutSignalId)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits