aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2019-01-22 17:54:06 +0000
committerBrian Ashworth <bosrsf04@gmail.com>2019-01-22 12:58:24 -0500
commitd7d906c7fd06d2535ddae5bf6f1c16171d899d12 (patch)
tree1a5d2f5a21bbdd269920c134f56199232dc9978c /common
parentd8f3e6e19a12514ed6f8c8f470b89fde0f39dc59 (diff)
background-image.c: remove stdbool header
Diffstat (limited to 'common')
-rw-r--r--common/background-image.c3
1 files changed, 1 insertions, 2 deletions
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 <assert.h>
-#include <stdbool.h>
#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);