Fix gio docs

This commit is contained in:
Matthias Clasen 2012-09-23 02:18:56 -04:00
parent a12c277acb
commit 344066e0c1
6 changed files with 20 additions and 19 deletions

View File

@ -1,5 +1,5 @@
/* GIO - GLib Input, Output and Streaming Library /* GIO - GLib Input, Output and Streaming Library
* *
* Copyright (C) 2006-2007 Red Hat, Inc. * Copyright (C) 2006-2007 Red Hat, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or

View File

@ -156,10 +156,10 @@ g_async_result_get_source_object (GAsyncResult *res)
/** /**
* g_async_result_legacy_propagate_error: * g_async_result_legacy_propagate_error:
* @result: a #GAsyncResult * @res: a #GAsyncResult
* @dest: (out): a location to propagate the error to. * @error: (out): a location to propagate the error to.
* *
* If @result is a #GSimpleAsyncResult, this is equivalent to * If @res is a #GSimpleAsyncResult, this is equivalent to
* g_simple_async_result_propagate_error(). Otherwise it returns * g_simple_async_result_propagate_error(). Otherwise it returns
* %FALSE. * %FALSE.
* *
@ -197,13 +197,13 @@ g_async_result_legacy_propagate_error (GAsyncResult *res,
/** /**
* g_async_result_is_tagged: * g_async_result_is_tagged:
* @result: a #GAsyncResult * @res: a #GAsyncResult
* @source_tag: an application-defined tag * @source_tag: an application-defined tag
* *
* Checks if @result has the given @source_tag (generally a function * Checks if @res has the given @source_tag (generally a function
* pointer indicating the function @result was created by). * pointer indicating the function @res was created by).
* *
* Returns: %TRUE if @result has the indicated @source_tag, %FALSE if * Returns: %TRUE if @res has the indicated @source_tag, %FALSE if
* not. * not.
* *
* Since: 2.34 * Since: 2.34

View File

@ -3425,11 +3425,11 @@ G_GNUC_END_IGNORE_DEPRECATIONS
/** /**
* g_desktop_app_info_get_startup_wm_class: * g_desktop_app_info_get_startup_wm_class:
* @app_info: a #GDesktopAppInfo that supports startup notify * @info: a #GDesktopAppInfo that supports startup notify
* *
* Retrieves the StartupWMClass field from @app_info. This represents the * Retrieves the StartupWMClass field from @info. This represents the
* WM_CLASS property of the main window of the application, if launched through * WM_CLASS property of the main window of the application, if launched
* @app_info. * through @info.
* *
* Returns: (transfer none): the startup WM class, or %NULL if none is set * Returns: (transfer none): the startup WM class, or %NULL if none is set
* in the desktop file. * in the desktop file.
@ -3437,9 +3437,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
* Since: 2.34 * Since: 2.34
*/ */
const char * const char *
g_desktop_app_info_get_startup_wm_class (GDesktopAppInfo *app_info) g_desktop_app_info_get_startup_wm_class (GDesktopAppInfo *info)
{ {
g_return_val_if_fail (G_IS_DESKTOP_APP_INFO (app_info), NULL); g_return_val_if_fail (G_IS_DESKTOP_APP_INFO (info), NULL);
return app_info->startup_wm_class; return info->startup_wm_class;
} }

View File

@ -3650,7 +3650,7 @@ g_file_delete_async (GFile *file,
/** /**
* g_file_delete_finish: * g_file_delete_finish:
* @file: input #GFile * @file: input #GFile
* @res: a #GAsyncResult * @result: a #GAsyncResult
* @error: a #GError, or %NULL * @error: a #GError, or %NULL
* *
* Finishes deleting a file started with g_file_delete_async(). * Finishes deleting a file started with g_file_delete_async().

View File

@ -109,7 +109,7 @@ GMenuItem * g_menu_item_new_section (const gchar *label,
GLIB_AVAILABLE_IN_2_34 GLIB_AVAILABLE_IN_2_34
GVariant * g_menu_item_get_attribute_value (GMenuItem *menu_item, GVariant * g_menu_item_get_attribute_value (GMenuItem *menu_item,
const gchar *attribute, const gchar *attribute,
const GVariantType *expected_value); const GVariantType *expected_type);
GLIB_AVAILABLE_IN_2_34 GLIB_AVAILABLE_IN_2_34
gboolean g_menu_item_get_attribute (GMenuItem *menu_item, gboolean g_menu_item_get_attribute (GMenuItem *menu_item,
const gchar *attribute, const gchar *attribute,

View File

@ -2000,8 +2000,8 @@ g_unix_mount_guess_icon (GUnixMountEntry *mount_entry)
/** /**
* g_unix_mount_guess_symbolic_icon: * g_unix_mount_guess_symbolic_icon:
* @mount_entry: a #GUnixMountEntry * @mount_entry: a #GUnixMountEntry
* *
* Guesses the symbolic icon of a Unix mount. * Guesses the symbolic icon of a Unix mount.
* *
* Returns: (transfer full): a #GIcon * Returns: (transfer full): a #GIcon
* *
@ -2052,6 +2052,7 @@ g_unix_mount_point_guess_icon (GUnixMountPoint *mount_point)
/** /**
* g_unix_mount_point_guess_symbolic_icon: * g_unix_mount_point_guess_symbolic_icon:
* @mount_point: a #GUnixMountPoint
* *
* Guesses the symbolic icon of a Unix mount point. * Guesses the symbolic icon of a Unix mount point.
* *