[glib] Fix gio docs
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix gio docs
- Date: Sun, 23 Sep 2012 06:19:11 +0000 (UTC)
commit 344066e0c196a9396ea1e9c6db4797ce35c7e726
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 23 02:18:56 2012 -0400
Fix gio docs
gio/gappinfo.c | 2 +-
gio/gasyncresult.c | 14 +++++++-------
gio/gdesktopappinfo.c | 14 +++++++-------
gio/gfile.c | 2 +-
gio/gmenu.h | 2 +-
gio/gunixmounts.c | 5 +++--
6 files changed, 20 insertions(+), 19 deletions(-)
---
diff --git a/gio/gappinfo.c b/gio/gappinfo.c
index 6714bce..9c9a32a 100644
--- a/gio/gappinfo.c
+++ b/gio/gappinfo.c
@@ -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
diff --git a/gio/gasyncresult.c b/gio/gasyncresult.c
index 8cba495..f4dbf32 100644
--- a/gio/gasyncresult.c
+++ b/gio/gasyncresult.c
@@ -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
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index 1bac191..4a6e4c7 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -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;
}
diff --git a/gio/gfile.c b/gio/gfile.c
index c2ae242..56fcf3b 100644
--- a/gio/gfile.c
+++ b/gio/gfile.c
@@ -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().
diff --git a/gio/gmenu.h b/gio/gmenu.h
index 4159eb2..35001c8 100644
--- a/gio/gmenu.h
+++ b/gio/gmenu.h
@@ -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,
diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c
index 2822ff9..a7b94d8 100644
--- a/gio/gunixmounts.c
+++ b/gio/gunixmounts.c
@@ -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.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]