From d20c6469c0f420ebf16499881b28e2b5539fa248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sat, 13 Nov 2021 09:03:29 +0100 Subject: Clean up --- fastiv-io.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'fastiv-io.c') diff --git a/fastiv-io.c b/fastiv-io.c index ab25edd..f5b3b1a 100644 --- a/fastiv-io.c +++ b/fastiv-io.c @@ -44,6 +44,9 @@ #define WUFFS_CONFIG__MODULE__ZLIB #include "wuffs-mirror-release-c/release/c/wuffs-v0.3.c" +#include +#include + #include "xdg.h" #include "fastiv-io.h" @@ -592,7 +595,6 @@ fastiv_io_open_from_data(const char *data, size_t len, const gchar *path, } #endif // HAVE_GDKPIXBUF ------------------------------------------------------ - // TODO(p): Integrate gdk-pixbuf as a fallback (optional dependency). set_error(error, "unsupported file type"); } return surface; @@ -600,11 +602,6 @@ fastiv_io_open_from_data(const char *data, size_t len, const gchar *path, // --- Thumbnails -------------------------------------------------------------- -// NOTE: "It is important to note that when an image with an alpha channel is -// scaled, linear encoded, pre-multiplied component values must be used!" -#include -#include - static int // tri-state check_spng_thumbnail_texts(struct spng_text *texts, uint32_t texts_len, const gchar *target, time_t mtime) -- cgit v1.2.3