aboutsummaryrefslogtreecommitdiff
path: root/common/background-image.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-04-03 15:04:31 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-04-03 15:04:31 -0400
commit87a953cbc0a91d46894a3c220414a5f30fbb3997 (patch)
tree76a170cc89fdf111dfef0de45b1fe7ce06bf62e9 /common/background-image.c
parent63094e6f9babd664f7d49258e037cae6b2048f74 (diff)
R E N D E R I N G
Diffstat (limited to 'common/background-image.c')
-rw-r--r--common/background-image.c3
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) {
GError *err = NULL;
GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(path, &err);
if (!pixbuf) {
- wlr_log(L_ERROR, "Failed to load background image.");
+ wlr_log(L_ERROR, "Failed to load background image (%s).",
+ err->message);
return false;
}
image = gdk_cairo_image_surface_create_from_pixbuf(pixbuf);