[gtk+] Fix annotations



commit 4dee1646a12e7d57b838a2299a51861efc7b7181
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 8 21:02:07 2015 +0100

    Fix annotations
    
    The function gtk_label_set_attributes() is also used to
    unset attributes, by passing %NULL. Reflect that in the
    argument annotations.

 gtk/gtklabel.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 6cc0e24..e4504d0 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -2232,10 +2232,10 @@ gtk_label_set_text (GtkLabel    *label,
 /**
  * gtk_label_set_attributes:
  * @label: a #GtkLabel
- * @attrs: a #PangoAttrList
- * 
+ * @attrs: (allow-none): a #PangoAttrList, or %NULL
+ *
  * Sets a #PangoAttrList; the attributes in the list are applied to the
- * label text. 
+ * label text.
  *
  * The attributes set with this function will be applied
  * and merged with any other attributes previously effected by way


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