diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-25 20:43:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-26 11:30:45 +0200 |
commit | dcba6d96003d65e51d57b27493f4ff13b255202b (patch) | |
tree | d4d26845f8476efd304d0bc3b7cc4affc40c5695 | |
parent | 8a05c64a5bbf9b6ad7af8e94e7b970f1323a22c5 (diff) |
rename ensureEventWidget to ensureMouseEventWidget
Change-Id: Ibe2d8722dc61c56e762cabb1cecccac8706fb4cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99449
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index 3435ea041d45..003af767ca65 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -1929,7 +1929,7 @@ protected: m_aFocusOutHdl.Call(*this); } - void ensureEventWidget() + void ensureMouseEventWidget() { if (!m_pMouseEventBox) m_pMouseEventBox = ::ensureEventWidget(m_pWidget); @@ -1939,7 +1939,7 @@ protected: { if (!m_nButtonPressSignalId) { - ensureEventWidget(); + ensureMouseEventWidget(); m_nButtonPressSignalId = g_signal_connect(m_pMouseEventBox, "button-press-event", G_CALLBACK(signalButton), this); } } @@ -2439,7 +2439,7 @@ public: virtual void connect_mouse_move(const Link<const MouseEvent&, bool>& rLink) override { - ensureEventWidget(); + ensureMouseEventWidget(); if (!m_nMotionSignalId) m_nMotionSignalId = g_signal_connect(m_pMouseEventBox, "motion-notify-event", G_CALLBACK(signalMotion), this); if (!m_nLeaveSignalId) @@ -2451,7 +2451,7 @@ public: virtual void connect_mouse_release(const Link<const MouseEvent&, bool>& rLink) override { - ensureEventWidget(); + ensureMouseEventWidget(); if (!m_nButtonReleaseSignalId) m_nButtonReleaseSignalId = g_signal_connect(m_pMouseEventBox, "button-release-event", G_CALLBACK(signalButton), this); weld::Widget::connect_mouse_release(rLink); |