Commit c755a7fd authored by Mart Raudsepp's avatar Mart Raudsepp

gio: Fix some typos in G*AppInfo documentation

parent 924f1bc5
......@@ -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
......
......@@ -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.
......
......@@ -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.
**/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment