From 21014e606b9b28d792b98cf363f20c7df2136723 Mon Sep 17 00:00:00 2001 From: progandy Date: Sun, 20 Dec 2015 17:37:52 +0100 Subject: make gdk-pixbuf dependency really optional --- include/client/cairo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/client/cairo.h b/include/client/cairo.h index 98ced907..ad8390c4 100644 --- a/include/client/cairo.h +++ b/include/client/cairo.h @@ -1,8 +1,10 @@ #ifndef _SWAY_CAIRO_H #define _SWAY_CAIRO_H +#ifdef WITH_GDK_PIXBUF #include cairo_surface_t* gdk_cairo_image_surface_create_from_pixbuf(const GdkPixbuf *gdkbuf); +#endif //WITH_GDK_PIXBUF #endif -- cgit v1.2.3