fix the endif placement for GTK_CHECK_VERSION

Desktop / LibreOffice - Caolán McNamara [redhat.com] - 30 March 2021 13:42 UTC

Change-Id: I1ff3f3c32990947a353c5908665b156d87d8ff58 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113346

###

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 2b9463544c5d..95377fbe6594 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -7949,8 +7949,8 @@ private:

gdk_event_free(pKeyEvent);
}
-#else
else
+#endif
{
guint nButton;
guint32 nTime;
@@ -7972,7 +7972,6 @@ private:

gtk_menu_popup(m_pMenu, nullptr, nullptr, nullptr, nullptr, nButton, nTime);
}
-#endif

if (g_main_loop_is_running(pLoop))
{

1a1d2ad0e2df fix the endif placement for GTK_CHECK_VERSION
vcl/unx/gtk3/gtk3gtkinst.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share