[gtk+/gtk-2-22] add allow-none annotation to gtk_clipboard_set_can_store's targets parameter



commit 5ac10f45f1e03ee220f6287d3a37565bc02cb0e1
Author: John (J5) Palmieri <johnp redhat com>
Date:   Mon Jun 7 13:15:27 2010 -0400

    add allow-none annotation to gtk_clipboard_set_can_store's targets parameter

 gtk/gtkclipboard.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c
index ddfc709..7e3c7ac 100644
--- a/gtk/gtkclipboard.c
+++ b/gtk/gtkclipboard.c
@@ -1927,8 +1927,9 @@ gtk_clipboard_store_timeout (GtkClipboard *clipboard)
 /**
  * gtk_clipboard_set_can_store:
  * @clipboard: a #GtkClipboard
- * @targets: array containing information about which forms should be stored
- *           or %NULL to indicate that all forms should be stored.
+ * @targets: (allow-none): array containing information about which forms 
+ *           should be stored or %NULL to indicate that all forms should 
+ *           be stored.
  * @n_targets: number of elements in @targets
  *
  * Hints that the clipboard data should be stored somewhere when the



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]