From a4a5f33f471f95c7e2a0945061206524edca4f48 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 31 Mar 2008 03:30:48 +0000 Subject: [PATCH] Fix some documentation typos. (#524950, Rob Bradford) 2008-03-30 Matthias Clasen * gfileenumerator.c: * gfile.c: Fix some documentation typos. (#524950, Rob Bradford) svn path=/trunk/; revision=6773 --- gio/ChangeLog | 5 +++++ gio/gfile.c | 7 +++---- gio/gfileenumerator.c | 5 +++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index c704454..2cdebd2 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,8 @@ +2008-03-30 Matthias Clasen + + * gfileenumerator.c: + * gfile.c: Fix some documentation typos. (#524950, Rob Bradford) + 2008-03-28 A. Walton * giomodule.c (_g_io_modules_ensure_loaded): diff --git a/gio/gfile.c b/gio/gfile.c index 9e65a4b..b15167d 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -85,11 +85,11 @@ * there may be multiple aliases for the same file. For instance, hard or * soft links may cause two different #GFiles to refer to the same file. * Other possible causes for aliases are: case insensitive filesystems, short - * and long names on Fat/NTFS, or bind mounts in linux. If you want to check if + * and long names on Fat/NTFS, or bind mounts in Linux. If you want to check if * two #GFiles point to the same file you can query for the * %G_FILE_ATTRIBUTE_ID_FILE attribute. Note that #GFile does some trivial * canonicalization of pathnames passed in, so that trivial differences in the - * path string used at creation (dupplicated slashes, slash at end of path, "." + * path string used at creation (duplicated slashes, slash at end of path, "." * or ".." path segments, etc) does not create different #GFiles. * * Many #GFile operations have both synchronous and asynchronous versions @@ -97,8 +97,7 @@ * simply have _async() appended to their function names. The asynchronous * I/O functions call a #GAsyncReadyCallback which is then used to finalize * the operation, producing a GAsyncResult which is then passed to the - * function's matching _finish() - * operation. + * function's matching _finish() operation. * * Some #GFile operations do not have synchronous analogs, as they may * take a very long time to finish, and blocking may leave an application diff --git a/gio/gfileenumerator.c b/gio/gfileenumerator.c index 3bca6fc..3246462 100644 --- a/gio/gfileenumerator.c +++ b/gio/gfileenumerator.c @@ -336,8 +336,9 @@ g_file_enumerator_next_files_async (GFileEnumerator *enumerator, * * Finishes the asynchronous operation started with g_file_enumerator_next_files_async(). * - * Returns: a #GList of #GFileInfos. You must free the list with g_list_free - * and unref the infos with g_object_unref when your done with them. + * Returns: a #GList of #GFileInfos. You must free the list with + * g_list_free() and unref the infos with g_object_unref when you're + * done with them. **/ GList * g_file_enumerator_next_files_finish (GFileEnumerator *enumerator, -- 2.7.4