diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-06-18 10:28:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-06-18 13:07:20 +0200 |
commit | 4ba3abf003c195831c7100a89762e501b99888ff (patch) | |
tree | 36c7ca63ea61052406c0f11478dfd5eb01f4708c /vcl/unx | |
parent | cbe51e9f023c9f25833e16add1bfd738db5cade8 (diff) |
rename m_nSignalId to m_nToggledSignalId
Change-Id: I8340eeb222cca00b1d9133f0313a264abe2d3227
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117433
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk3/gtkinst.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx index b98e3e7459c6..59c21825a09b 100644 --- a/vcl/unx/gtk3/gtkinst.cxx +++ b/vcl/unx/gtk3/gtkinst.cxx @@ -8916,7 +8916,7 @@ class GtkInstanceToggleButton : public GtkInstanceButton, public virtual weld::T protected: GtkToggleButton* m_pToggleButton; private: - gulong m_nSignalId; + gulong m_nToggledSignalId; static void signalToggled(GtkToggleButton*, gpointer widget) { @@ -8928,7 +8928,7 @@ public: GtkInstanceToggleButton(GtkToggleButton* pButton, GtkInstanceBuilder* pBuilder, bool bTakeOwnership) : GtkInstanceButton(GTK_BUTTON(pButton), pBuilder, bTakeOwnership) , m_pToggleButton(pButton) - , m_nSignalId(g_signal_connect(m_pToggleButton, "toggled", G_CALLBACK(signalToggled), this)) + , m_nToggledSignalId(g_signal_connect(m_pToggleButton, "toggled", G_CALLBACK(signalToggled), this)) { } @@ -8968,19 +8968,19 @@ public: virtual void disable_notify_events() override { - g_signal_handler_block(m_pToggleButton, m_nSignalId); + g_signal_handler_block(m_pToggleButton, m_nToggledSignalId); GtkInstanceButton::disable_notify_events(); } virtual void enable_notify_events() override { GtkInstanceButton::enable_notify_events(); - g_signal_handler_unblock(m_pToggleButton, m_nSignalId); + g_signal_handler_unblock(m_pToggleButton, m_nToggledSignalId); } virtual ~GtkInstanceToggleButton() override { - g_signal_handler_disconnect(m_pToggleButton, m_nSignalId); + g_signal_handler_disconnect(m_pToggleButton, m_nToggledSignalId); } }; |