[gtk+] selection: mark targets param to gtk_target_list_new as allow-none
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] selection: mark targets param to gtk_target_list_new as allow-none
- Date: Tue, 15 Apr 2014 06:46:52 +0000 (UTC)
commit 0ebc4decbb9859071c9b47cf35a4d3f702b5b354
Author: Evan Nemerson <evan nemerson com>
Date: Mon Apr 14 02:26:51 2014 -0700
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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index f08a5c3..cbe3e48 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]