Add two annotations to gio
authorTorsten Schönfeld <kaffeetisch@gmx.de>
Tue, 16 Aug 2011 17:11:43 +0000 (19:11 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 15 Oct 2011 22:02:32 +0000 (18:02 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=656679

gio/gfile.c
gio/gfileinfo.c

index 442afe0..8d17a89 100644 (file)
@@ -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.
  *
index b9f3f56..ee16002 100644 (file)
@@ -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.