mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix gio docs
This commit is contained in:
parent
a12c277acb
commit
344066e0c1
@ -1,5 +1,5 @@
|
||||
/* GIO - GLib Input, Output and Streaming Library
|
||||
*
|
||||
*
|
||||
* Copyright (C) 2006-2007 Red Hat, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
@ -156,10 +156,10 @@ g_async_result_get_source_object (GAsyncResult *res)
|
||||
|
||||
/**
|
||||
* g_async_result_legacy_propagate_error:
|
||||
* @result: a #GAsyncResult
|
||||
* @dest: (out): a location to propagate the error to.
|
||||
* @res: a #GAsyncResult
|
||||
* @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
|
||||
* %FALSE.
|
||||
*
|
||||
@ -197,13 +197,13 @@ g_async_result_legacy_propagate_error (GAsyncResult *res,
|
||||
|
||||
/**
|
||||
* g_async_result_is_tagged:
|
||||
* @result: a #GAsyncResult
|
||||
* @res: a #GAsyncResult
|
||||
* @source_tag: an application-defined tag
|
||||
*
|
||||
* Checks if @result has the given @source_tag (generally a function
|
||||
* pointer indicating the function @result was created by).
|
||||
* Checks if @res has the given @source_tag (generally a function
|
||||
* 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.
|
||||
*
|
||||
* Since: 2.34
|
||||
|
@ -3425,11 +3425,11 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
/**
|
||||
* 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
|
||||
* WM_CLASS property of the main window of the application, if launched through
|
||||
* @app_info.
|
||||
* Retrieves the StartupWMClass field from @info. This represents the
|
||||
* WM_CLASS property of the main window of the application, if launched
|
||||
* through @info.
|
||||
*
|
||||
* Returns: (transfer none): the startup WM class, or %NULL if none is set
|
||||
* in the desktop file.
|
||||
@ -3437,9 +3437,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
* Since: 2.34
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
@ -3650,7 +3650,7 @@ g_file_delete_async (GFile *file,
|
||||
/**
|
||||
* g_file_delete_finish:
|
||||
* @file: input #GFile
|
||||
* @res: a #GAsyncResult
|
||||
* @result: a #GAsyncResult
|
||||
* @error: a #GError, or %NULL
|
||||
*
|
||||
* Finishes deleting a file started with g_file_delete_async().
|
||||
|
@ -109,7 +109,7 @@ GMenuItem * g_menu_item_new_section (const gchar *label,
|
||||
GLIB_AVAILABLE_IN_2_34
|
||||
GVariant * g_menu_item_get_attribute_value (GMenuItem *menu_item,
|
||||
const gchar *attribute,
|
||||
const GVariantType *expected_value);
|
||||
const GVariantType *expected_type);
|
||||
GLIB_AVAILABLE_IN_2_34
|
||||
gboolean g_menu_item_get_attribute (GMenuItem *menu_item,
|
||||
const gchar *attribute,
|
||||
|
@ -2000,8 +2000,8 @@ g_unix_mount_guess_icon (GUnixMountEntry *mount_entry)
|
||||
/**
|
||||
* g_unix_mount_guess_symbolic_icon:
|
||||
* @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
|
||||
*
|
||||
@ -2052,6 +2052,7 @@ g_unix_mount_point_guess_icon (GUnixMountPoint *mount_point)
|
||||
|
||||
/**
|
||||
* g_unix_mount_point_guess_symbolic_icon:
|
||||
* @mount_point: a #GUnixMountPoint
|
||||
*
|
||||
* Guesses the symbolic icon of a Unix mount point.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user