background-image.c: remove stdbool header

This commit is contained in:
Ian Fan 2019-01-23 12:18:22 +00:00
parent 2de6b5083a
commit f698711ddc

View File

@ -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) {
swaylock_log(LOG_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);