From 236ca63419528da1ebfbfe7aabd24a1c3b274437 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 25 Apr 2019 11:23:37 -0400 Subject: swaybg: split into standalone project The new upstream is https://github.com/swaywm/swaybg This commit also refactors our use of gdk-pixbuf a bit, since the only remaining reverse dependency is swaybar tray support. --- include/cairo.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include') diff --git a/include/cairo.h b/include/cairo.h index d1b9b8d7..c1275db2 100644 --- a/include/cairo.h +++ b/include/cairo.h @@ -1,13 +1,9 @@ #ifndef _SWAY_CAIRO_H #define _SWAY_CAIRO_H - #include "config.h" #include #include #include -#if HAVE_GDK_PIXBUF -#include -#endif void cairo_set_source_u32(cairo_t *cairo, uint32_t color); cairo_subpixel_order_t to_cairo_subpixel_order(enum wl_output_subpixel subpixel); @@ -15,11 +11,4 @@ cairo_subpixel_order_t to_cairo_subpixel_order(enum wl_output_subpixel subpixel) cairo_surface_t *cairo_image_surface_scale(cairo_surface_t *image, int width, int height); -#if HAVE_GDK_PIXBUF - -cairo_surface_t* gdk_cairo_image_surface_create_from_pixbuf( - const GdkPixbuf *gdkbuf); - -#endif // HAVE_GDK_PIXBUF - #endif -- cgit v1.2.3