[gtk+] Fix gtk_selection_data_get_data annotations



commit daa8b48a331ba7b9a27bbb9b6aab3f75e28c3d04
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Wed Jun 11 22:16:36 2014 +0200

    Fix gtk_selection_data_get_data annotations
    
    The annotations were intended for the return
    value, not the instance argument.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731299

 gtk/gtkselection.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index 17f0365..a2da673 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -1214,12 +1214,12 @@ gtk_selection_data_get_format (const GtkSelectionData *selection_data)
 
 /**
  * gtk_selection_data_get_data: (skip)
- * @selection_data: (array) (element-type guint8): a pointer to a
+ * @selection_data: a pointer to a
  *   #GtkSelectionData-struct.
  *
  * Retrieves the raw data of the selection.
  *
- * Returns: the raw data of the selection.
+ * Returns: (array) (element-type guint8): the raw data of the selection.
  *
  * Since: 2.14
  **/


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