From d89968247ad185d4c9e37ab9930cb64dcda058dd Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 24 Jul 2013 18:07:09 +0200 Subject: eel: Add GTK3 support --- eel/eel-gdk-pixbuf-extensions.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'eel/eel-gdk-pixbuf-extensions.h') diff --git a/eel/eel-gdk-pixbuf-extensions.h b/eel/eel-gdk-pixbuf-extensions.h index 382cd6cd..7d31defe 100644 --- a/eel/eel-gdk-pixbuf-extensions.h +++ b/eel/eel-gdk-pixbuf-extensions.h @@ -30,6 +30,7 @@ #include #include #include +#include #define EEL_OPACITY_FULLY_TRANSPARENT 0 #define EEL_OPACITY_FULLY_OPAQUE 255 @@ -92,7 +93,11 @@ void eel_gdk_pixbuf_unref_if_not_null (GdkPixbuf /* Copy a pixbuf to an area of a GdkDrawable */ void eel_gdk_pixbuf_draw_to_drawable (const GdkPixbuf *pixbuf, +#if GTK_CHECK_VERSION (3, 0, 0) + cairo_t *cr, +#else GdkDrawable *drawable, +#endif int source_x, int source_y, EelIRect destination_area); -- cgit v1.2.1