diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-04-25 11:23:37 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-04-25 18:44:28 +0300 |
commit | 236ca63419528da1ebfbfe7aabd24a1c3b274437 (patch) | |
tree | 88dbafbde4595ce0ce35b26b70a716154a90acd1 /include/cairo.h | |
parent | f62c755a9f747dff9411ccedb62ecee288e67b5c (diff) |
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.
Diffstat (limited to 'include/cairo.h')
-rw-r--r-- | include/cairo.h | 11 |
1 files changed, 0 insertions, 11 deletions
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 <stdint.h> #include <cairo/cairo.h> #include <wayland-client-protocol.h> -#if HAVE_GDK_PIXBUF -#include <gdk-pixbuf/gdk-pixbuf.h> -#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 |