summaryrefslogtreecommitdiff
path: root/clients/desktop-shell.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-01-25 15:43:48 -0500
committerKristian Høgsberg <krh@bitplanet.net>2012-01-25 16:30:48 -0500
commitd6548765109d12335171599dfe4e480a5e73ee05 (patch)
tree061cc1ab618edb47f4f7f8191c5d8f3c22fef77e /clients/desktop-shell.c
parent8129bc0fb9700e014455702446f21eb004ce448a (diff)
cairo-util: Add png loader and image type sniffing
Diffstat (limited to 'clients/desktop-shell.c')
-rw-r--r--clients/desktop-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
index fde0017..097bcd3 100644
--- a/clients/desktop-shell.c
+++ b/clients/desktop-shell.c
@@ -376,7 +376,7 @@ background_draw(struct widget *widget, void *data)
widget_get_allocation(widget, &allocation);
image = NULL;
if (key_background_image)
- image = load_jpeg(key_background_image);
+ image = load_image(key_background_image);
if (image) {
pattern = cairo_pattern_create_for_surface(image);
sx = (double) cairo_image_surface_get_width(image) /