aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-28 12:21:50 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-28 14:43:23 -0400
commitd39bda76c4007c42452a81883fefc671b816a74b (patch)
tree509a9c669bf2679085e27a1ff1b0c95526abf14c /common
parent653853062f15639c97d02a8d67443506ce3af69d (diff)
Address review comments
Diffstat (limited to 'common')
-rw-r--r--common/cairo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cairo.c b/common/cairo.c
index c6bd0da9..c267c77c 100644
--- a/common/cairo.c
+++ b/common/cairo.c
@@ -1,7 +1,7 @@
#include <stdint.h>
#include <cairo/cairo.h>
#include "cairo.h"
-#ifdef WITH_GDK_PIXBUF
+#ifdef HAVE_GDK_PIXBUF
#include <gdk-pixbuf/gdk-pixbuf.h>
#endif
@@ -30,7 +30,7 @@ cairo_surface_t *cairo_image_surface_scale(cairo_surface_t *image,
return new;
}
-#ifdef WITH_GDK_PIXBUF
+#ifdef HAVE_GDK_PIXBUF
cairo_surface_t* gdk_cairo_image_surface_create_from_pixbuf(const GdkPixbuf *gdkbuf) {
int chan = gdk_pixbuf_get_n_channels(gdkbuf);
if (chan < 3) {
@@ -124,4 +124,4 @@ cairo_surface_t* gdk_cairo_image_surface_create_from_pixbuf(const GdkPixbuf *gdk
cairo_surface_mark_dirty(cs);
return cs;
}
-#endif //WITH_GDK_PIXBUF
+#endif //HAVE_GDK_PIXBUF