gtk_tree_view_enable_model_drag_source() is missing the "(array length=n_targets)" annotation



I originally submitted a bug under pygobject introspection, however, I
think I've figured out that the problem is with the missing "(array
length=n_targets)" annotation in the gtk-doc for
gtk_tree_view_enable_model_drag_source(). Not sure if this is more
appropriate for this list instead. A patch is shown below.

The bug report report is here: https://bugzilla.gnome.org/show_bug.cgi?id=649979


--- gtk/gtktreeview.c	2011-05-11 11:44:25.000000000 -0700
+++ gtk/gtktreeview.bug_649979.c	2011-05-11 11:44:53.000000000 -0700
@@ -14081,7 +14081,7 @@ unset_reorderable (GtkTreeView *tree_vie
  * gtk_tree_view_enable_model_drag_source:
  * @tree_view: a #GtkTreeView
  * @start_button_mask: Mask of allowed buttons to start drag
- * @targets: (array): the table of targets that the drag will support
+ * @targets: (array length=n_targets): 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]