[Libreoffice-commits] core.git: vcl/unx

Michael Stahl mstahl at redhat.com
Mon Nov 10 05:25:21 PST 2014


 vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 283f8f6321158df45415c38790516fa92109b87f
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Nov 10 14:15:14 2014 +0100

    vcl: the docs say gdk_window_get_screen was added in GTK+ 2.24
    
    Change-Id: Ib9b108c034181c0f94cbf86634447ba2d4afbaa5

diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index 50cb193..b8db643 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -294,7 +294,7 @@ GdkX11Pixmap::GdkX11Pixmap( X11Pixmap& rOther, GdkWindow *pWindow )
 {
     GdkColormap* pColormap;
 
-#if GTK_CHECK_VERSION(2,10,0)
+#if GTK_CHECK_VERSION(2,24,0)
     GdkScreen *pScreen = gdk_window_get_screen( pWindow );
     mpGdkPixmap = gdk_pixmap_foreign_new_for_screen( pScreen, mpPixmap,
                                                      mnWidth, mnHeight,


More information about the Libreoffice-commits mailing list