From 7ef4a06defdd57956655c6e5145bb46faddf8a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Wed, 10 Nov 2021 00:45:36 +0100 Subject: Improve librsvg integration Let it load external s and not rescale images. --- fastiv-io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fastiv-io.h') diff --git a/fastiv-io.h b/fastiv-io.h index 616bfc8..6275bc2 100644 --- a/fastiv-io.h +++ b/fastiv-io.h @@ -24,5 +24,5 @@ extern const char *fastiv_io_supported_media_types[]; cairo_surface_t *fastiv_io_open(const gchar *path, GError **error); cairo_surface_t *fastiv_io_open_from_data( - const char *data, size_t len, GError **error); + const char *data, size_t len, const gchar *path, GError **error); cairo_surface_t *fastiv_io_lookup_thumbnail(const gchar *target); -- cgit v1.2.3