diff options
author | Evan Nemerson <evan@nemerson.com> | 2014-05-26 09:42:23 -0700 |
---|---|---|
committer | Evan Nemerson <evan@nemerson.com> | 2014-05-27 21:10:33 -0700 |
commit | a77765f17229ee1d0ab93134b426bb2838179bac (patch) | |
tree | 359ffee466e44a34cbe89b491d5a0986f8a3a595 /gtk/gtktextiter.c | |
parent | 07d825574f62ee9575d10a3fa3c60001c7ffddfb (diff) | |
download | gtk+-a77765f17229ee1d0ab93134b426bb2838179bac.tar.gz |
gtk: add missing ownership annotations ported from Vala
https://bugzilla.gnome.org/show_bug.cgi?id=730745
Diffstat (limited to 'gtk/gtktextiter.c')
-rw-r--r-- | gtk/gtktextiter.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index bb7fdb0f82..55e33c0b6a 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -899,7 +899,7 @@ gtk_text_iter_get_char (const GtkTextIter *iter) * text as well, so it is not a reliable indicator that a pixbuf or * widget is in the buffer. * - * Returns: slice of text from the buffer + * Returns: (transfer full): slice of text from the buffer **/ gchar* gtk_text_iter_get_slice (const GtkTextIter *start, @@ -925,7 +925,7 @@ gtk_text_iter_get_slice (const GtkTextIter *start, * byte offsets in the buffer. If you want offsets to correspond, see * gtk_text_iter_get_slice (). * - * Returns: array of characters from the buffer + * Returns: (transfer full): array of characters from the buffer **/ gchar* gtk_text_iter_get_text (const GtkTextIter *start, @@ -949,7 +949,7 @@ gtk_text_iter_get_text (const GtkTextIter *start, * Invisible text is usually invisible because a #GtkTextTag with the * “invisible” attribute turned on has been applied to it. * - * Returns: slice of text from the buffer + * Returns: (transfer full): slice of text from the buffer **/ gchar* gtk_text_iter_get_visible_slice (const GtkTextIter *start, @@ -973,7 +973,8 @@ gtk_text_iter_get_visible_slice (const GtkTextIter *start, * Invisible text is usually invisible because a #GtkTextTag with the * “invisible” attribute turned on has been applied to it. * - * Returns: string containing visible text in the range + * Returns: (transfer full): string containing visible text in the + * range **/ gchar* gtk_text_iter_get_visible_text (const GtkTextIter *start, @@ -1465,7 +1466,7 @@ gtk_text_iter_can_insert (const GtkTextIter *iter, * language apply to @iter, the return value is identical to that of * gtk_get_default_language (). * - * Returns: language in effect at @iter + * Returns: (transfer full): language in effect at @iter **/ PangoLanguage * gtk_text_iter_get_language (const GtkTextIter *iter) |