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/gtkeditable.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/gtkeditable.c')
-rw-r--r-- | gtk/gtkeditable.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkeditable.c b/gtk/gtkeditable.c index 8887b8ef62..4fc7b744a0 100644 --- a/gtk/gtkeditable.c +++ b/gtk/gtkeditable.c @@ -149,10 +149,10 @@ gtk_editable_base_init (gpointer g_class) * @editable: a #GtkEditable * @new_text: the text to append * @new_text_length: the length of the text in bytes, or -1 - * @position: location of the position text will be inserted at + * @position: (in-out): location of the position text will be inserted at * - * Inserts @new_text_length bytes of @new_text into the contents of the - * widget, at position @position. + * Inserts @new_text_length bytes of @new_text into the contents of the + * widget, at position @position. * * Note that the position is in characters, not in bytes. * The function updates @position to point after the newly inserted text. @@ -266,12 +266,12 @@ gtk_editable_get_position (GtkEditable *editable) /** * gtk_editable_get_selection_bounds: * @editable: a #GtkEditable - * @start_pos: location to store the starting position, or %NULL - * @end_pos: location to store the end position, or %NULL + * @start_pos: (out) (allow-none): location to store the starting position, or %NULL + * @end_pos: (out) (allow-none): location to store the end position, or %NULL * * Retrieves the selection bound of the editable. start_pos will be filled - * with the start of the selection and @end_pos with end. If no text was - * selected both will be identical and %FALSE will be returned. + * with the start of the selection and @end_pos with end. If no text was + * selected both will be identical and %FALSE will be returned. * * Note that positions are specified in characters, not bytes. * |