summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk/window/gtkframe.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index 06d29d5f54c2..f778354ed5c9 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -4160,10 +4160,12 @@ gboolean GtkSalFrame::IMHandler::signalIMDeleteSurrounding( GtkIMContext*, gint
return sal_False;
}
+#if GTK_CHECK_VERSION(3,0,0)
Size GtkSalDisplay::GetScreenSize( int nScreen )
{
Rectangle aRect = m_pSys->GetDisplayScreenPosSizePixel( nScreen );
return Size( aRect.GetWidth(), aRect.GetHeight() );
}
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */