selection: mark targets param to gtk_target_list_new as allow-none

https://bugzilla.gnome.org/show_bug.cgi?id=728165
This commit is contained in:
Evan Nemerson 2014-04-14 02:26:51 -07:00
parent 80993ea47a
commit 0ebc4decbb

View File

@ -214,7 +214,8 @@ static const char gtk_selection_handler_key[] = "gtk-selection-handlers";
/**
* gtk_target_list_new:
* @targets: (array length=ntargets): Pointer to an array of #GtkTargetEntry
* @targets: (array length=ntargets) (allow-none): Pointer to an array
* of #GtkTargetEntry
* @ntargets: number of entries in @targets.
*
* Creates a new #GtkTargetList from an array of #GtkTargetEntry.