mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
background-image.c: remove stdbool header
This commit is contained in:
parent
d8f3e6e19a
commit
d7d906c7fd
|
@ -1,5 +1,4 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdbool.h>
|
|
||||||
#include "background-image.h"
|
#include "background-image.h"
|
||||||
#include "cairo.h"
|
#include "cairo.h"
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
|
@ -30,7 +29,7 @@ cairo_surface_t *load_background_image(const char *path) {
|
||||||
if (!pixbuf) {
|
if (!pixbuf) {
|
||||||
sway_log(SWAY_ERROR, "Failed to load background image (%s).",
|
sway_log(SWAY_ERROR, "Failed to load background image (%s).",
|
||||||
err->message);
|
err->message);
|
||||||
return false;
|
return NULL;
|
||||||
}
|
}
|
||||||
image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf);
|
image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf);
|
||||||
g_object_unref(pixbuf);
|
g_object_unref(pixbuf);
|
||||||
|
|
Loading…
Reference in a new issue