[glib] Add two annotations to gio



commit 70eff50f218e9bf34dafb97f50f0bc5da9356256
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Tue Aug 16 19:11:43 2011 +0200

    Add two annotations to gio
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656679

 gio/gfile.c     |    2 +-
 gio/gfileinfo.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gfile.c b/gio/gfile.c
index 442afe0..8d17a89 100644
--- a/gio/gfile.c
+++ b/gio/gfile.c
@@ -536,7 +536,7 @@ g_file_dup (GFile *file)
 
 /**
  * g_file_hash:
- * @file: #gconstpointer to a #GFile.
+ * @file: (type GFile): #gconstpointer to a #GFile.
  *
  * Creates a hash value for a #GFile.
  *
diff --git a/gio/gfileinfo.c b/gio/gfileinfo.c
index b9f3f56..ee16002 100644
--- a/gio/gfileinfo.c
+++ b/gio/gfileinfo.c
@@ -1673,7 +1673,7 @@ g_file_info_get_size (GFileInfo *info)
 /**
  * g_file_info_get_modification_time:
  * @info: a #GFileInfo.
- * @result: a #GTimeVal.
+ * @result: (out caller-allocates): a #GTimeVal.
  *
  * Gets the modification time of the current @info and sets it
  * in @result.



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