[gtk+] [gi] add array annotations for DnD related methods
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] [gi] add array annotations for DnD related methods
- Date: Fri, 19 Nov 2010 20:08:45 +0000 (UTC)
commit f2a187f27aacc2708eda83a41dd13a071923c1dc
Author: John (J5) Palmieri <johnp redhat com>
Date: Fri Nov 19 15:06:40 2010 -0500
[gi] add array annotations for DnD related methods
gtk/gtkselection.c | 2 +-
gtk/gtktreeview.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index 999652c..70b3c05 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -1242,7 +1242,7 @@ gtk_selection_data_get_display (GtkSelectionData *selection_data)
* @selection_data: a pointer to a #GtkSelectionData structure.
* @type: the type of selection data
* @format: format (number of bits in a unit)
- * @data: pointer to the data (will be copied)
+ * @data: (array) (element-type guchar): pointer to the data (will be copied)
* @length: length of the data
*
* Stores new data into a #GtkSelectionData object. Should
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index dc3e3b7..66e8a5f 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -13501,7 +13501,7 @@ unset_reorderable (GtkTreeView *tree_view)
* gtk_tree_view_enable_model_drag_source:
* @tree_view: a #GtkTreeView
* @start_button_mask: Mask of allowed buttons to start drag
- * @targets: the table of targets that the drag will support
+ * @targets: (array): the table of targets that the drag will support
* @n_targets: the number of items in @targets
* @actions: the bitmask of possible actions for a drag from this
* widget
@@ -13538,7 +13538,7 @@ gtk_tree_view_enable_model_drag_source (GtkTreeView *tree_view,
/**
* gtk_tree_view_enable_model_drag_dest:
* @tree_view: a #GtkTreeView
- * @targets: the table of targets that the drag will support
+ * @targets: (array): the table of targets that the drag will support
* @n_targets: the number of items in @targets
* @actions: the bitmask of possible actions for a drag from this
* widget
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]