From 0ebc4decbb9859071c9b47cf35a4d3f702b5b354 Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Mon, 14 Apr 2014 02:26:51 -0700 Subject: [PATCH] selection: mark targets param to gtk_target_list_new as allow-none https://bugzilla.gnome.org/show_bug.cgi?id=728165 --- gtk/gtkselection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c index f08a5c3da5..cbe3e48522 100644 --- a/gtk/gtkselection.c +++ b/gtk/gtkselection.c @@ -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.