diff options
Diffstat (limited to 'WebCore/platform/gtk/GtkVersioning.h')
-rw-r--r-- | WebCore/platform/gtk/GtkVersioning.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/gtk/GtkVersioning.h b/WebCore/platform/gtk/GtkVersioning.h index ea15a54..11d1f8a 100644 --- a/WebCore/platform/gtk/GtkVersioning.h +++ b/WebCore/platform/gtk/GtkVersioning.h @@ -31,7 +31,7 @@ G_BEGIN_DECLS // Macros to avoid deprecation checking churn #ifndef GTK_API_VERSION_2 -#define GDK_DISPLAY() (GDK_DISPLAY_XDISPLAY(gdk_display_get_default())) +#define GDK_WINDOW_XWINDOW(window) (gdk_x11_window_get_xid(window)) #else GdkPixbuf* gdk_pixbuf_get_from_surface(cairo_surface_t* surface, int srcX, int srcY, int width, int height); |