diff options
author | Colin Walters <walters@verbum.org> | 2009-12-10 08:23:40 -0200 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2009-12-16 17:22:01 -0200 |
commit | 6529c07614ebfbfac73f526efb057d8a8e3a7354 (patch) | |
tree | 6470d8b8af29900905a07ff7838d180cec8fd36e /gtk/gtktextiter.c | |
parent | b3c48a4501d77c15ae236f1fe4514cc02de187f3 (diff) | |
download | gtk+-6529c07614ebfbfac73f526efb057d8a8e3a7354.tar.gz |
[introspection] Merge in Gtk-custom.c annotations
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
Diffstat (limited to 'gtk/gtktextiter.c')
-rw-r--r-- | gtk/gtktextiter.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/gtk/gtktextiter.c b/gtk/gtktextiter.c index 37d4c2d4d2..360c855a3e 100644 --- a/gtk/gtktextiter.c +++ b/gtk/gtktextiter.c @@ -371,7 +371,7 @@ check_invariants (const GtkTextIter *iter) * * Returns the #GtkTextBuffer this iterator is associated with. * - * Return value: the buffer + * Return value: (transfer none): the buffer **/ GtkTextBuffer* gtk_text_iter_get_buffer (const GtkTextIter *iter) @@ -972,7 +972,7 @@ gtk_text_iter_get_visible_text (const GtkTextIter *start, * (with no new reference count added). Otherwise, * %NULL is returned. * - * Return value: the pixbuf at @iter + * Return value: (transfer none): the pixbuf at @iter **/ GdkPixbuf* gtk_text_iter_get_pixbuf (const GtkTextIter *iter) @@ -1034,7 +1034,7 @@ gtk_text_iter_get_child_anchor (const GtkTextIter *iter) * can exist in the same place. The returned list is not in any * meaningful order. * - * Return value: list of #GtkTextMark + * Return value: (element-type GtkTextMark) (transfer container): list of #GtkTextMark **/ GSList* gtk_text_iter_get_marks (const GtkTextIter *iter) @@ -1080,7 +1080,7 @@ gtk_text_iter_get_marks (const GtkTextIter *iter) * a tag is toggled off, then some non-empty range following @iter * does <emphasis>not</emphasis> have the tag applied to it. * - * Return value: tags toggled at this point + * Return value: (element-type GtkTextTag) (transfer container): tags toggled at this point **/ GSList* gtk_text_iter_get_toggled_tags (const GtkTextIter *iter, @@ -1129,7 +1129,7 @@ gtk_text_iter_get_toggled_tags (const GtkTextIter *iter, /** * gtk_text_iter_begins_tag: * @iter: an iterator - * @tag: a #GtkTextTag, or %NULL + * @tag: (allow-none): a #GtkTextTag, or %NULL * * Returns %TRUE if @tag is toggled on at exactly this point. If @tag * is %NULL, returns %TRUE if any tag is toggled on at this point. Note @@ -1222,7 +1222,7 @@ gtk_text_iter_ends_tag (const GtkTextIter *iter, /** * gtk_text_iter_toggles_tag: * @iter: an iterator - * @tag: a #GtkTextTag, or %NULL + * @tag: (allow-none): a #GtkTextTag, or %NULL * * This is equivalent to (gtk_text_iter_begins_tag () || * gtk_text_iter_ends_tag ()), i.e. it tells you whether a range with @@ -1307,8 +1307,8 @@ gtk_text_iter_has_tag (const GtkTextIter *iter, * priority (highest-priority tags are last). The #GtkTextTag in the * list don't have a reference added, but you have to free the list * itself. - * - * Return value: list of #GtkTextTag + * + * Return value: (element-type GtkTextTag) (transfer container): list of #GtkTextTag **/ GSList* gtk_text_iter_get_tags (const GtkTextIter *iter) @@ -4111,7 +4111,7 @@ gtk_text_iter_forward_to_line_end (GtkTextIter *iter) /** * gtk_text_iter_forward_to_tag_toggle: * @iter: a #GtkTextIter - * @tag: a #GtkTextTag, or %NULL + * @tag: (allow-none): a #GtkTextTag, or %NULL * * Moves forward to the next toggle (on or off) of the * #GtkTextTag @tag, or to the next toggle of any tag if @@ -4193,7 +4193,7 @@ gtk_text_iter_forward_to_tag_toggle (GtkTextIter *iter, /** * gtk_text_iter_backward_to_tag_toggle: * @iter: a #GtkTextIter - * @tag: a #GtkTextTag, or %NULL + * @tag: (allow-none): a #GtkTextTag, or %NULL * * Moves backward to the next toggle (on or off) of the * #GtkTextTag @tag, or to the next toggle of any tag if @@ -4571,12 +4571,12 @@ strbreakup (const char *string, * @iter: start of search * @str: a search string * @flags: flags affecting how the search is done - * @match_start: return location for start of match, or %NULL - * @match_end: return location for end of match, or %NULL - * @limit: bound for the search, or %NULL for the end of the buffer - * - * Searches forward for @str. Any match is returned by setting - * @match_start to the first character of the match and @match_end to the + * @match_start: (allow-none): return location for start of match, or %NULL + * @match_end: (allow-none): return location for end of match, or %NULL + * @limit: (allow-none): bound for the search, or %NULL for the end of the buffer + * + * Searches forward for @str. Any match is returned by setting + * @match_start to the first character of the match and @match_end to the * first character after the match. The search will not continue past * @limit. Note that a search is a linear or O(n) operation, so you * may wish to use @limit to avoid locking up your UI on large @@ -4868,12 +4868,12 @@ lines_window_free (LinesWindow *win) * @iter: a #GtkTextIter where the search begins * @str: search string * @flags: bitmask of flags affecting the search - * @match_start: return location for start of match, or %NULL - * @match_end: return location for end of match, or %NULL - * @limit: location of last possible @match_start, or %NULL for start of buffer - * + * @match_start: (allow-none): return location for start of match, or %NULL + * @match_end: (allow-none): return location for end of match, or %NULL + * @limit: (allow-none): location of last possible @match_start, or %NULL for start of buffer + * * Same as gtk_text_iter_forward_search(), but moves backward. - * + * * Return value: whether a match was found **/ gboolean |