[glib] GIO: Add more missing GI annotations
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GIO: Add more missing GI annotations
- Date: Tue, 23 Aug 2011 23:56:35 +0000 (UTC)
commit 30d9636df24000812179f6910cf5c4c3de23cdcd
Author: Eduardo Lima Mitev <elima igalia com>
Date: Thu Jul 29 13:59:42 2010 +0200
GIO: Add more missing GI annotations
- g_io_extension_point_register()
- g_io_extension_point_lookup()
- g_io_extension_point_implement()
https://bugzilla.gnome.org/show_bug.cgi?id=625383
gio/giomodule.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/giomodule.c b/gio/giomodule.c
index 00e8c48..4b77e3d 100644
--- a/gio/giomodule.c
+++ b/gio/giomodule.c
@@ -643,8 +643,8 @@ g_io_extension_point_free (GIOExtensionPoint *ep)
*
* Registers an extension point.
*
- * Returns: the new #GIOExtensionPoint. This object is owned by GIO
- * and should not be freed
+ * Returns: (transfer none): the new #GIOExtensionPoint. This object is
+ * owned by GIO and should not be freed.
*/
GIOExtensionPoint *
g_io_extension_point_register (const char *name)
@@ -681,8 +681,8 @@ g_io_extension_point_register (const char *name)
*
* Looks up an existing extension point.
*
- * Returns: the #GIOExtensionPoint, or %NULL if there is no
- * registered extension point with the given name
+ * Returns: (transfer none): the #GIOExtensionPoint, or %NULL if there
+ * is no registered extension point with the given name.
*/
GIOExtensionPoint *
g_io_extension_point_lookup (const char *name)
@@ -826,7 +826,7 @@ extension_prio_compare (gconstpointer a,
* If @type has already been registered as an extension for this
* extension point, the existing #GIOExtension object is returned.
*
- * Returns: a #GIOExtension object for #GType
+ * Returns: (transfer none): a #GIOExtension object for #GType
*/
GIOExtension *
g_io_extension_point_implement (const char *extension_point_name,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]