[glib/zbrown/gfile-not-nullable] gfile: resolve_relative_path isn't nullable
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/zbrown/gfile-not-nullable] gfile: resolve_relative_path isn't nullable
- Date: Wed, 2 Feb 2022 11:03:30 +0000 (UTC)
commit aede29cb337516515f77cc651f8d249d87411528
Author: Zander Brown <zbrown gnome org>
Date: Wed Feb 2 11:03:25 2022 +0000
gfile: resolve_relative_path isn't nullable
gio/gfile.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/gio/gfile.c b/gio/gfile.c
index 6208c2f81..a6ec4dc63 100644
--- a/gio/gfile.c
+++ b/gio/gfile.c
@@ -989,9 +989,7 @@ g_file_get_relative_path (GFile *parent,
* If the @relative_path is an absolute path name, the resolution
* is done absolutely (without taking @file path as base).
*
- * Returns: (transfer full) (nullable): #GFile to the resolved path.
- * %NULL if @relative_path is %NULL or if @file is invalid.
- * Free the returned object with g_object_unref().
+ * Returns: (transfer full): a #GFile for the resolved path.
*/
GFile *
g_file_resolve_relative_path (GFile *file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]