summaryrefslogtreecommitdiff
path: root/shared/cairo-util.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-11-29 12:23:36 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-11-29 13:32:11 -0500
commit6006ecb497379c511fcc7f165fea3393558f3570 (patch)
treeb14374611b197a9e4414a43f7ec7e084a3ab1794 /shared/cairo-util.h
parent0ea7333392c3afdbcd8f9194d51cee1e3f55178c (diff)
configure.ac: Don't link weston to cairo or image libraries
We were pulling in cairo and the image loading libraries through libshared. Split out libshared into a core libshared and a libshared-cairo that pulls in the extra libraries.
Diffstat (limited to 'shared/cairo-util.h')
-rw-r--r--shared/cairo-util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/cairo-util.h b/shared/cairo-util.h
index 3a760a4d..64ed03fe 100644
--- a/shared/cairo-util.h
+++ b/shared/cairo-util.h
@@ -23,6 +23,8 @@
#ifndef _CAIRO_UTIL_H
#define _CAIRO_UTIL_H
+#include <pixman.h>
+
void
surface_flush_device(cairo_surface_t *surface);
@@ -87,4 +89,7 @@ enum theme_location {
enum theme_location
theme_get_location(struct theme *t, int x, int y, int width, int height, int flags);
+pixman_image_t *
+load_image(const char *filename);
+
#endif