aboutsummaryrefslogtreecommitdiffstats
path: root/common/background-image.c
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2019-01-22 17:54:06 +0000
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-22 12:58:24 -0500
commitd7d906c7fd06d2535ddae5bf6f1c16171d899d12 (patch)
tree1a5d2f5a21bbdd269920c134f56199232dc9978c /common/background-image.c
parentswaybar: fix workspace command (diff)
downloadsway-d7d906c7fd06d2535ddae5bf6f1c16171d899d12.tar.gz
sway-d7d906c7fd06d2535ddae5bf6f1c16171d899d12.tar.zst
sway-d7d906c7fd06d2535ddae5bf6f1c16171d899d12.zip
background-image.c: remove stdbool header
Diffstat (limited to 'common/background-image.c')
-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 @@
1#include <assert.h> 1#include <assert.h>
2#include <stdbool.h>
3#include "background-image.h" 2#include "background-image.h"
4#include "cairo.h" 3#include "cairo.h"
5#include "log.h" 4#include "log.h"
@@ -30,7 +29,7 @@ cairo_surface_t *load_background_image(const char *path) {
30 if (!pixbuf) { 29 if (!pixbuf) {
31 sway_log(SWAY_ERROR, "Failed to load background image (%s).", 30 sway_log(SWAY_ERROR, "Failed to load background image (%s).",
32 err->message); 31 err->message);
33 return false; 32 return NULL;
34 } 33 }
35 image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf); 34 image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf);
36 g_object_unref(pixbuf); 35 g_object_unref(pixbuf);