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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Jul 26 09:31:22 UTC 2020


 vcl/unx/gtk3/gtk3gtkinst.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit dcba6d96003d65e51d57b27493f4ff13b255202b
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jul 25 20:43:49 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jul 26 11:30:45 2020 +0200

    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 at redhat.com>

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


More information about the Libreoffice-commits mailing list