[gtk+/gi-annotations: 19/28] Update GI annotations in 'Recently Used Documents'



commit 0cc00b4a897a9e1ebd3453de14c30ac5c6fd8984
Author: Pavel Holejsovsky <pholejs src gnome org>
Date:   Fri Jan 14 14:52:48 2011 +0100

    Update GI annotations in 'Recently Used Documents'

 gtk/gtkrecentchooser.c |    5 +++--
 gtk/gtkrecentmanager.c |    2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkrecentchooser.c b/gtk/gtkrecentchooser.c
index 6011ba6..b6873ec 100644
--- a/gtk/gtkrecentchooser.c
+++ b/gtk/gtkrecentchooser.c
@@ -859,8 +859,9 @@ gtk_recent_chooser_get_items (GtkRecentChooser *chooser)
  *
  * Since the returned array is %NULL terminated, @length may be %NULL.
  * 
- * Return value: (transfer full): A newly allocated, %NULL-terminated array
- *     of strings. Use g_strfreev() to free it.
+ * Return value: (array length=length zero-terminated=1) (transfer full):
+ *     A newly allocated, %NULL-terminated array of strings. Use
+ *     g_strfreev() to free it.
  *
  * Since: 2.10
  */
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c
index ccdea45..4c4f70a 100644
--- a/gtk/gtkrecentmanager.c
+++ b/gtk/gtkrecentmanager.c
@@ -1975,7 +1975,7 @@ gtk_recent_info_get_icon (GtkRecentInfo *info,
  *
  * Retrieves the icon associated to the resource MIME type.
  *
- * Return value: a #GIcon containing the icon, or %NULL. Use
+ * Return value: (transfer full): a #GIcon containing the icon, or %NULL. Use
  *   g_object_unref() when finished using the icon
  *
  * Since: 2.22



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]