[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Mar 30 14:06:25 UTC 2021


 vcl/unx/gtk3/gtk3gtkinst.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit ca464268484ade5d20d453e9b23f18d513aa2af4
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Mar 30 12:11:42 2021 +0100
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Tue Mar 30 16:05:52 2021 +0200

    fix the endif placement for GTK_CHECK_VERSION
    
    Change-Id: I1ff3f3c32990947a353c5908665b156d87d8ff58
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113291
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index f29c0c018ad3..773b20ac5b07 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -7783,8 +7783,8 @@ private:
 
             gdk_event_free(pKeyEvent);
         }
-#else
         else
+#endif
         {
             guint nButton;
             guint32 nTime;
@@ -7806,7 +7806,6 @@ private:
 
             gtk_menu_popup(m_pMenu, nullptr, nullptr, nullptr, nullptr, nButton, nTime);
         }
-#endif
 
         if (g_main_loop_is_running(pLoop))
         {


More information about the Libreoffice-commits mailing list