summaryrefslogtreecommitdiff
path: root/gtk/gtkbuildable.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2011-01-10 14:43:00 -0600
committerMartin Pitt <martin.pitt@ubuntu.com>2011-01-10 14:43:00 -0600
commite48f5b4073b9c1551dbea4ef5b15933672de3a1e (patch)
tree504d6fd88cb343a4294f3fbd64bbfd499e6e5c23 /gtk/gtkbuildable.c
parentcc44561b611c7c611c418a9f9f3a1312d1c17d76 (diff)
downloadgtk+-e48f5b4073b9c1551dbea4ef5b15933672de3a1e.tar.gz
Backport a lot of GI transfer annotations
This dramatically improves using GTK2 with g-i. Taken from master commit e0aa12eb0ab8d without the non-documentation changes.
Diffstat (limited to 'gtk/gtkbuildable.c')
-rw-r--r--gtk/gtkbuildable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkbuildable.c b/gtk/gtkbuildable.c
index 68e6f8f89c..6605305431 100644
--- a/gtk/gtkbuildable.c
+++ b/gtk/gtkbuildable.c
@@ -203,12 +203,12 @@ gtk_buildable_parser_finished (GtkBuildable *buildable,
* @builder: #GtkBuilder used to construct this object
* @name: name of child to construct
*
- * Constructs a child of @buildable with the name @name.
+ * Constructs a child of @buildable with the name @name.
*
* #GtkBuilder calls this function if a "constructor" has been
* specified in the UI definition.
*
- * Returns: the constructed child
+ * Returns: (transfer full): the constructed child
*
* Since: 2.12
**/
@@ -336,7 +336,7 @@ gtk_buildable_custom_finished (GtkBuildable *buildable,
*
* Get the internal child called @childname of the @buildable object.
*
- * Returns: the internal child of the buildable object
+ * Returns: (transfer none): the internal child of the buildable object
*
* Since: 2.12
**/