gtk: add missing ownership annotations ported from Vala

https://bugzilla.gnome.org/show_bug.cgi?id=730745
This commit is contained in:
Evan Nemerson
2014-05-26 09:42:23 -07:00
parent 07d825574f
commit a77765f172
5 changed files with 15 additions and 13 deletions

View File

@ -2414,9 +2414,10 @@ add_size (gpointer key,
* that the icon is available in a scalable format. The array
* is zero-terminated.
*
* Returns: (array zero-terminated=1): An newly allocated array
* describing the sizes at which the icon is available. The array
* should be freed with g_free() when it is no longer needed.
* Returns: (array zero-terminated=1) (transfer full): An newly
* allocated array describing the sizes at which the icon is
* available. The array should be freed with g_free() when it is no
* longer needed.
*
* Since: 2.6
**/
@ -3521,7 +3522,7 @@ icon_info_new_builtin (BuiltinIcon *icon)
*
* Make a copy of a #GtkIconInfo.
*
* Returns: the new GtkIconInfo
* Returns: (transfer full): the new GtkIconInfo
*
* Since: 2.4
*