[gtk+/wip/combo] Fix annotations



commit 8e7088342d19b2fb228cdac0f311d6c5ca6a69da
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 b07f40c..e911fd0 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]