diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/background-image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/background-image.c b/common/background-image.c index 1a6c0df0..e5fb4433 100644 --- a/common/background-image.c +++ b/common/background-image.c | |||
@@ -28,7 +28,8 @@ cairo_surface_t *load_background_image(const char *path) { | |||
28 | GError *err = NULL; | 28 | GError *err = NULL; |
29 | GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(path, &err); | 29 | GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(path, &err); |
30 | if (!pixbuf) { | 30 | if (!pixbuf) { |
31 | wlr_log(L_ERROR, "Failed to load background image."); | 31 | wlr_log(L_ERROR, "Failed to load background image (%s).", |
32 | err->message); | ||
32 | return false; | 33 | return false; |
33 | } | 34 | } |
34 | image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf); | 35 | image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf); |