vcl/unx/gtk3/gtkinst.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 46a1616172010c1568cad9da98898a75703b2e1b
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Tue Jul 1 13:14:05 2025 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Tue Jul 1 17:19:03 2025 +0200

    gtk: Drop nested GTK version check
    
    This is already inside another
    
        #if GTK_CHECK_VERSION(4, 0, 0)
        // ...
        #endif
    
    No need to check twice.
    
    Change-Id: I2dad75164e3d9a1f437e0eff639244b64f38fa78
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187239
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>
    Tested-by: Jenkins

diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 5b4e488e2c76..546f91b03c6a 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -3935,7 +3935,6 @@ public:
         return m_pFocusController;
     }
 
-#if GTK_CHECK_VERSION(4, 0, 0)
     GtkEventController* get_click_controller()
     {
         if (!m_pClickController)
@@ -3979,9 +3978,6 @@ public:
         return m_pKeyController;
     }
 
-#endif
-
-
 #endif
 
     virtual void connect_focus_in(const Link<Widget&, void>& rLink) override

Reply via email to