[glib: 1/4] gio: document g_file_get_relative_path() with absolute path
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/4] gio: document g_file_get_relative_path() with absolute path
- Date: Mon, 25 Oct 2021 12:25:20 +0000 (UTC)
commit 1df7c2ea801fc690907b6105b53dd440bdb8e4ca
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Fri Oct 22 19:51:07 2021 +0400
gio: document g_file_get_relative_path() with absolute path
Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>
gio/gfile.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gio/gfile.c b/gio/gfile.c
index 17aee12a7..d1eac65fe 100644
--- a/gio/gfile.c
+++ b/gio/gfile.c
@@ -985,6 +985,9 @@ g_file_get_relative_path (GFile *parent,
*
* This call does no blocking I/O.
*
+ * If the @relative_path is an absolute path name, the resolution
+ * is done absolutely (without taking @file path as base).
+ *
* Returns: (transfer full): #GFile to the resolved path.
* %NULL if @relative_path is %NULL or if @file is invalid.
* Free the returned object with g_object_unref().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]