From c8df325c7038a8312dd22be800ac008d54f8466b Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Mon, 1 Nov 2021 05:08:55 +0100 Subject: Split out xdg.{c,h} --- fastiv-io.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fastiv-io.c') diff --git a/fastiv-io.c b/fastiv-io.c index 119d778..a450b73 100644 --- a/fastiv-io.c +++ b/fastiv-io.c @@ -37,6 +37,8 @@ #define WUFFS_CONFIG__MODULE__ZLIB #include "wuffs-mirror-release-c/release/c/wuffs-v0.3.c" +#include "xdg.h" + // A subset of shared-mime-info that produces an appropriate list of // file extensions. Chiefly motivated by the suckiness of RAW images: // someone else will maintain the list of file extensions for us. @@ -448,9 +450,6 @@ fastiv_io_open(const gchar *path, GError **error) #include #include -// TODO(p): Reorganize the sources. -gchar *get_xdg_home_dir(const char *var, const char *default_); - static void redirect_png_error(png_structp pngp, const char *error) { -- cgit v1.2.3-54-g00ecf