aboutsummaryrefslogtreecommitdiff
path: root/include/client
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-12-20 17:37:52 +0100
committerFurkan Sahin <furkan-dev@proton.me>2015-12-20 17:37:52 +0100
commite1de085608890ce121816c36025645f8c5002613 (patch)
tree946a056785f05744932f21538a90f5687deb299c /include/client
parentffa8f0a0e3deca143499c970990e7639bd423aff (diff)
make gdk-pixbuf dependency really optional
Diffstat (limited to 'include/client')
-rw-r--r--include/client/cairo.h2
1 files changed, 2 insertions, 0 deletions
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 <gdk-pixbuf/gdk-pixbuf.h>
cairo_surface_t* gdk_cairo_image_surface_create_from_pixbuf(const GdkPixbuf *gdkbuf);
+#endif //WITH_GDK_PIXBUF
#endif