From c42fa3898ee8628ac2fc2c125ee4b225e9b26e10 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 17 Jan 2023 14:20:47 -0500 Subject: Add a cross-reference Mention g_string_append_filename in the g_build_filename docs. --- glib/gfileutils.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'glib/gfileutils.c') diff --git a/glib/gfileutils.c b/glib/gfileutils.c index 5ae0b12ea..fe22f1ff0 100644 --- a/glib/gfileutils.c +++ b/glib/gfileutils.c @@ -2241,6 +2241,9 @@ g_build_filenamev (gchar **args) * path. If the first element is a relative path, the result will * be a relative path. * + * See g_string_append_filename() as an alternative if you are building + * multiple filenames in a loop. + * * Returns: (type filename) (transfer full): a newly-allocated string that * must be freed with g_free(). **/ -- cgit v1.2.1