[gtk+/gtk-2-22] Bind get_bounds and use out instead of out caller-allocates.



commit ef3ec85bac99839491bb1becb4000a086e3fe9ce
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Jul 5 18:25:09 2010 +0200

    Bind get_bounds and use out instead of out caller-allocates.
    
    There is no need to use caller-allocates if the scanner already detects it.
    (cherry picked from commit f50d06baea6176436aadb625727cd1c0a912900d)

 gtk/gtktextbuffer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index fd89d70..0caea4f 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -4022,8 +4022,8 @@ gtk_text_buffer_copy_clipboard (GtkTextBuffer *buffer,
 /**
  * gtk_text_buffer_get_selection_bounds:
  * @buffer: a #GtkTextBuffer a #GtkTextBuffer
- * @start: iterator to initialize with selection start
- * @end: iterator to initialize with selection end
+ * @start: (out): iterator to initialize with selection start
+ * @end: (out): iterator to initialize with selection end
  *
  * Returns %TRUE if some text is selected; places the bounds
  * of the selection in @start and @end (if the selection has length 0,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]