From 69b861ec5cdda6d04a7e788e2f15cd3242dd9b8e Mon Sep 17 00:00:00 2001 From: Wouter Bolsterlee Date: Tue, 1 Jan 2008 14:39:51 +0000 Subject: [PATCH] Expanded the g_file_new_for_commandline_arg description a bit, based on 2008-01-01 Wouter Bolsterlee * gfile.c: Expanded the g_file_new_for_commandline_arg description a bit, based on the code and the docs of the other g_file_new_for_* functions. svn path=/trunk/; revision=6229 --- gio/ChangeLog | 6 ++++++ gio/gfile.c | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index b6a74a89a..3632e0a22 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,9 @@ +2008-01-01 Wouter Bolsterlee + + * gfile.c: Expanded the g_file_new_for_commandline_arg + description a bit, based on the code and the docs of the + other g_file_new_for_* functions. + 2007-12-31 Wouter Bolsterlee * gfilemonitor.h: Fixed typo in docs. diff --git a/gio/gfile.c b/gio/gfile.c index defead772..45d9f9230 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -3970,9 +3970,12 @@ has_valid_scheme (const char *uri) * g_file_new_for_commandline_arg: * @arg: a command line string. * - * Creates a #GFile with the given argument from - * the command line. - * + * Creates a #GFile with the given argument from the command line. The value of + * @arg can be either a URI, an absolute path or a relative path resolved + * relative to the current working directory. + * This operation never fails, but the returned object might not support any + * I/O operation if @arg points to a malformed path. + * * Returns: a new #GFile. **/ GFile * -- 2.34.1