[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 11 15:56:50 UTC 2021
vcl/unx/gtk3/gtkframe.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 2f26a3323dc0cf2975351774f2f1ffc60930fda6
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue May 11 15:21:45 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue May 11 17:56:00 2021 +0200
gtk4: drop unneeded ifdef
Change-Id: I85180b68ee2db3469ea93f14c73e9b325e3d948d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115433
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk3/gtkframe.cxx b/vcl/unx/gtk3/gtkframe.cxx
index babdb5fbdcb5..d9d0852b6cd0 100644
--- a/vcl/unx/gtk3/gtkframe.cxx
+++ b/vcl/unx/gtk3/gtkframe.cxx
@@ -2133,7 +2133,6 @@ void GtkSalFrame::SetScreenNumber( unsigned int nNewScreen )
void GtkSalFrame::updateWMClass()
{
-#if !GTK_CHECK_VERSION(4, 0, 0)
if (!getDisplay()->IsX11Display())
return;
@@ -2152,7 +2151,6 @@ void GtkSalFrame::updateWMClass()
GtkSalFrame::GetNativeWindowHandle(m_pWindow),
pClass );
XFree( pClass );
-#endif
}
void GtkSalFrame::SetApplicationID( const OUString &rWMClass )
More information about the Libreoffice-commits
mailing list