commit | d6548765109d12335171599dfe4e480a5e73ee05 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Wed Jan 25 15:43:48 2012 -0500 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Wed Jan 25 16:30:48 2012 -0500 |
tree | 061cc1ab618edb47f4f7f8191c5d8f3c22fef77e | |
parent | 8129bc0fb9700e014455702446f21eb004ce448a [diff] [blame] |
cairo-util: Add png loader and image type sniffing
diff --git a/clients/tablet-shell.c b/clients/tablet-shell.c index 6f1f231..1a647e8 100644 --- a/clients/tablet-shell.c +++ b/clients/tablet-shell.c
@@ -88,7 +88,7 @@ cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); if (path) - image = load_jpeg(path); + image = load_image(path); if (image) { pattern = cairo_pattern_create_for_surface(image); sx = (double) cairo_image_surface_get_width(image) /