[glib] gio: Fix some typos in G*AppInfo documentation



commit c755a7fd11ca5f865f6ccd477e0f4db3799161fa
Author: Mart Raudsepp <leio gentoo org>
Date:   Sun Sep 13 04:42:33 2009 +0300

    gio: Fix some typos in G*AppInfo documentation

 gio/gappinfo.c        |   10 +++++-----
 gio/gappinfo.h        |    4 ++--
 gio/gdesktopappinfo.c |    8 ++++----
 3 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/gio/gappinfo.c b/gio/gappinfo.c
index b017247..88ff2d1 100644
--- a/gio/gappinfo.c
+++ b/gio/gappinfo.c
@@ -159,7 +159,7 @@ g_app_info_dup (GAppInfo *appinfo)
  * @appinfo1: the first #GAppInfo.  
  * @appinfo2: the second #GAppInfo.
  * 
- * Checks if two #GAppInfos are equal.
+ * Checks if two #GAppInfo<!-- -->s are equal.
  *
  * Returns: %TRUE if @appinfo1 is equal to @appinfo2. %FALSE otherwise.
  **/
@@ -254,7 +254,7 @@ g_app_info_get_description (GAppInfo *appinfo)
  * Gets the executable's name for the installed application.
  *
  * Returns: a string containing the @appinfo's application 
- * binary's name
+ * binaries name
  **/
 const char *
 g_app_info_get_executable (GAppInfo *appinfo)
@@ -328,7 +328,7 @@ g_app_info_set_as_default_for_type (GAppInfo    *appinfo,
  * @extension: a string containing the file extension (without the dot).
  * @error: a #GError.
  * 
- * Sets the application as the default handler for the given file extention.
+ * Sets the application as the default handler for the given file extension.
  *
  * Returns: %TRUE on success, %FALSE on error.
  **/
@@ -653,7 +653,7 @@ g_app_info_launch_default_for_uri (const char         *uri,
  * g_app_info_can_delete:
  * @appinfo: a #GAppInfo
  *
- * Obtains the information whether the GAppInfo can be deleted.
+ * Obtains the information whether the #GAppInfo can be deleted.
  * See g_app_info_delete().
  *
  * Returns: %TRUE if @appinfo can be deleted
@@ -680,7 +680,7 @@ g_app_info_can_delete (GAppInfo *appinfo)
  * g_app_info_delete:
  * @appinfo: a #GAppInfo
  *
- * Tries to delete an #GAppInfo. 
+ * Tries to delete a #GAppInfo.
  *
  * On some platforms, there may be a difference between user-defined
  * #GAppInfo<!-- -->s which can be deleted, and system-wide ones which
diff --git a/gio/gappinfo.h b/gio/gappinfo.h
index 21a41da..8bf228a 100644
--- a/gio/gappinfo.h
+++ b/gio/gappinfo.h
@@ -61,7 +61,7 @@ typedef struct _GAppLaunchContextPrivate GAppLaunchContextPrivate;
  * @get_id: Gets a string identifier for a #GAppInfo.
  * @get_name: Gets the name of the application for a #GAppInfo.
  * @get_description: Gets a short description for the application described by the #GAppInfo.
- * @get_executable: Gets the execuable name for the #GAppInfo.
+ * @get_executable: Gets the executable name for the #GAppInfo.
  * @get_icon: Gets the #GIcon for the #GAppInfo.
  * @launch: Launches an application specified by the #GAppInfo.
  * @supports_uris: Indicates whether the application specified supports launching URIs.
@@ -71,7 +71,7 @@ typedef struct _GAppLaunchContextPrivate GAppLaunchContextPrivate;
  * <ulink url="http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt";>
  * <citetitle>FreeDesktop.Org Startup Notification Specification</citetitle></ulink>.
  * @set_as_default_for_type: Sets an application as default for a given content type.
- * @set_as_default_for_extension: Sets an application as default for a given file extention.
+ * @set_as_default_for_extension: Sets an application as default for a given file extension.
  * @add_supports_type: Adds to the #GAppInfo information about supported file types.
  * @can_remove_supports_type: Checks for support for removing supported file types from a #GAppInfo.
  * @remove_supports_type: Removes a supported application type from a #GAppInfo.
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index 4bd76ff..65bd96e 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -1663,9 +1663,9 @@ app_info_in_list (GAppInfo *info,
  * g_app_info_get_all_for_type:
  * @content_type: the content type to find a #GAppInfo for
  * 
- * Gets a list of all #GAppInfo s for a given content type.
+ * Gets a list of all #GAppInfo<!-- -->s for a given content type.
  *
- * Returns: #GList of #GAppInfo s for given @content_type
+ * Returns: #GList of #GAppInfo<!-- -->s for given @content_type
  *    or %NULL on error.
  **/
 GList *
@@ -1707,7 +1707,7 @@ g_app_info_get_all_for_type (const char *content_type)
  * Removes all changes to the type associations done by
  * g_app_info_set_as_default_for_type(), 
  * g_app_info_set_as_default_for_extension(), 
- * g_app_info_add_supports_type() of g_app_info_remove_supports_type().
+ * g_app_info_add_supports_type() or g_app_info_remove_supports_type().
  *
  * Since: 2.20
  */
@@ -1723,7 +1723,7 @@ g_app_info_reset_type_associations (const char *content_type)
  * @must_support_uris: if %TRUE, the #GAppInfo is expected to
  *     support URIs
  * 
- * Gets the #GAppInfo that correspond to a given content type.
+ * Gets the #GAppInfo that corresponds to a given content type.
  *
  * Returns: #GAppInfo for given @content_type or %NULL on error.
  **/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]