From 6529c07614ebfbfac73f526efb057d8a8e3a7354 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 10 Dec 2009 08:23:40 -0200 Subject: [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. --- gtk/gtkeditable.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gtk/gtkeditable.c') 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. * -- cgit v1.2.1