aboutsummaryrefslogtreecommitdiff
path: root/fastiv-io.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-01 05:08:55 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-01 05:17:26 +0100
commitc8df325c7038a8312dd22be800ac008d54f8466b (patch)
tree281d2e65a62bccdaff563bc09366d41cb06da429 /fastiv-io.c
parent6eecee6b91a0b810c31f0c865d7329013aff226c (diff)
downloadfiv-c8df325c7038a8312dd22be800ac008d54f8466b.tar.gz
fiv-c8df325c7038a8312dd22be800ac008d54f8466b.tar.xz
fiv-c8df325c7038a8312dd22be800ac008d54f8466b.zip
Split out xdg.{c,h}
Diffstat (limited to 'fastiv-io.c')
-rw-r--r--fastiv-io.c5
1 files changed, 2 insertions, 3 deletions
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 <glib/gstdio.h>
#include <png.h>
-// 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)
{