summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-03-11 15:37:58 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2010-03-11 15:37:58 +0100
commitf099cd4586bf41f30dea8190dbd2bd7b4234cf60 (patch)
treeaf3aba65ba43ed19fc3650bc8d3efec056b6bea8
parent893e297fd7ef6fbb14b7bab518acd999a465efa9 (diff)
masterfix DEV300: #i10000# gtk version workaround
Notes
split repo tag: libs-gui_ooo/DEV300_m75
-rw-r--r--vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index c552f6502287..869189fb1415 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -3480,7 +3480,8 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
const cairo_font_options_t* pNewOptions = NULL;
if( GdkScreen* pScreen = gdk_display_get_screen( gdk_display_get_default(), m_nScreen ) )
{
-#if !GTK_CHECK_VERSION(2,8,1)
+//#if !GTK_CHECK_VERSION(2,8,1)
+#if !GTK_CHECK_VERSION(2,9,0)
static cairo_font_options_t* (*gdk_screen_get_font_options)(GdkScreen*) =
(cairo_font_options_t*(*)(GdkScreen*))osl_getAsciiFunctionSymbol( GetSalData()->m_pPlugin, "gdk_screen_get_font_options" );
if( gdk_screen_get_font_options != NULL )