From d7d906c7fd06d2535ddae5bf6f1c16171d899d12 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Tue, 22 Jan 2019 17:54:06 +0000 Subject: background-image.c: remove stdbool header --- common/background-image.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/background-image.c') diff --git a/common/background-image.c b/common/background-image.c index d15c2989..4431b725 100644 --- a/common/background-image.c +++ b/common/background-image.c @@ -1,5 +1,4 @@ #include -#include #include "background-image.h" #include "cairo.h" #include "log.h" @@ -30,7 +29,7 @@ cairo_surface_t *load_background_image(const char *path) { if (!pixbuf) { sway_log(SWAY_ERROR, "Failed to load background image (%s).", err->message); - return false; + return NULL; } image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf); g_object_unref(pixbuf); -- cgit v1.2.3-54-g00ecf