[gtk+/wip/aruiz/nullable-annotations] nullable annotations: gtk_image_get_animation gtk_image_get_pixbuf gtk_label_get_attributes



commit 7f4e5ab9c01abdc4e916e539e648da920fa4852b
Author: Alberto Ruiz <aruiz gnome org>
Date:   Sat Dec 12 18:54:55 2015 +0000

    nullable annotations:
      gtk_image_get_animation
      gtk_image_get_pixbuf
      gtk_label_get_attributes

 gtk/gtkimage.c |    4 ++--
 gtk/gtklabel.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 2aa1e69..c2a6836 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -1327,7 +1327,7 @@ gtk_image_get_storage_type (GtkImage *image)
  * The caller of this function does not own a reference to the
  * returned pixbuf.
  * 
- * Returns: (transfer none): the displayed pixbuf, or %NULL if
+ * Returns: (transfer none) (nullable): the displayed pixbuf, or %NULL if
  * the image is empty
  **/
 GdkPixbuf*
@@ -1414,7 +1414,7 @@ gtk_image_get_icon_set  (GtkImage        *image,
  * The caller of this function does not own a reference to the
  * returned animation.
  * 
- * Returns: (transfer none): the displayed animation, or %NULL if
+ * Returns: (transfer none) (nullable): the displayed animation, or %NULL if
  * the image is empty
  **/
 GdkPixbufAnimation*
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index d68514a..5b63039 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -2266,7 +2266,7 @@ gtk_label_set_attributes (GtkLabel         *label,
  * effective attributes for the label, use
  * pango_layout_get_attribute (gtk_label_get_layout (label)).
  *
- * Returns: (transfer none): the attribute list, or %NULL
+ * Returns: (transfer none) (nullable): the attribute list, or %NULL
  *     if none was set.
  **/
 PangoAttrList *


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