From: Wouter Bolsterlee Date: Tue, 1 Jan 2008 14:39:51 +0000 (+0000) Subject: Expanded the g_file_new_for_commandline_arg description a bit, based on X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=69b861ec5cdda6d04a7e788e2f15cd3242dd9b8e;p=dana%2Fcg-glib.git 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 --- diff --git a/gio/ChangeLog b/gio/ChangeLog index b6a74a89..3632e0a2 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 defead77..45d9f923 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 *