Commits

Anonymous committed fa876af

masterfix DEV300: #i10000# gtk version workaround

  • Participants
  • Parent commits bbbd494

Comments (0)

Files changed (1)

File vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx

     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 )
+    if( gdk_screen_get_font_options != NULL )
 #endif
 		pNewOptions = gdk_screen_get_font_options( pScreen );
     }