summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-xlib-private.h')
-rw-r--r--src/cairo-xlib-private.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cairo-xlib-private.h b/src/cairo-xlib-private.h
index 6157775a..9b806eec 100644
--- a/src/cairo-xlib-private.h
+++ b/src/cairo-xlib-private.h
@@ -35,8 +35,11 @@
#include "cairoint.h"
#include "cairo-xlib.h"
+#include "cairo-xlib-xrender-private.h"
#include "cairo-freelist-private.h"
+#include <X11/Xutil.h> /* for XDestroyImage */
+
typedef struct _cairo_xlib_display cairo_xlib_display_t;
typedef struct _cairo_xlib_hook cairo_xlib_hook_t;
typedef struct _cairo_xlib_job cairo_xlib_job_t;
@@ -121,11 +124,4 @@ _cairo_xlib_screen_get_gc (cairo_xlib_screen_info_t *info, int depth);
cairo_private cairo_status_t
_cairo_xlib_screen_put_gc (cairo_xlib_screen_info_t *info, int depth, GC gc, cairo_bool_t reset_clip);
-#if CAIRO_HAS_XLIB_XRENDER_SURFACE
-
-#include "cairo-xlib-xrender.h"
-slim_hidden_proto (cairo_xlib_surface_create_with_xrender_format);
-
-#endif
-
#endif /* CAIRO_XLIB_PRIVATE_H */