diff options
| author | Ian Fan <ianfan0@gmail.com> | 2019-01-23 12:18:22 +0000 |
|---|---|---|
| committer | Ian Fan <ianfan0@gmail.com> | 2019-01-23 12:18:22 +0000 |
| commit | f698711ddc0c45523cdc1a4e746a1319afd72e26 (patch) | |
| tree | 0c713ad2ab202cab44ff34c9cc319cce21b36cd3 /background-image.c | |
| parent | 2de6b5083a8228e93a023d5a62eca3a271727ac6 (diff) | |
background-image.c: remove stdbool header
Diffstat (limited to 'background-image.c')
| -rw-r--r-- | background-image.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/background-image.c b/background-image.c index d2ab03b..c765bdf 100644 --- a/background-image.c +++ b/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) { 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); |
