diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-08 20:41:53 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-09 22:12:54 +0100 |
commit | 03f724a1ba9155a100f51954871f22f858859299 (patch) | |
tree | 6b7fdbb9e3918b8f72a831644084db3179a49f09 | |
parent | ac66a47e7ed691f28e5eb1748b2209d466b0ede3 (diff) |
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 <noel.grandin@collabora.co.uk>
(cherry picked from commit 145280ffd1dabdc629c14c8162beef668741bcef)
Reviewed-on: https://gerrit.libreoffice.org/64847
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 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) |