[gtk+] Image—Add some more missing (nullable) annotations



commit 1a8a35f3478a2ac6cd8d0c5860ec108e3316fa52
Author: Daniel Boles <dboles src gnome org>
Date:   Fri Feb 17 22:01:32 2017 +0000

    Image—Add some more missing (nullable) annotations

 gtk/gtkimage.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 1ed309f..2d7c0e6 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -657,7 +657,7 @@ gtk_image_new_from_animation (GdkPixbufAnimation *animation)
 
 /**
  * gtk_image_new_from_icon_name:
- * @icon_name: an icon name
+ * @icon_name: (nullable): an icon name or %NULL
  * @size: (type int): a stock icon size (#GtkIconSize)
  * 
  * Creates a #GtkImage displaying an icon from the current icon theme.
@@ -989,7 +989,7 @@ gtk_image_set_from_animation (GtkImage           *image,
 /**
  * gtk_image_set_from_icon_name:
  * @image: a #GtkImage
- * @icon_name: an icon name
+ * @icon_name: (nullable): an icon name or %NULL
  * @size: (type int): an icon size (#GtkIconSize)
  *
  * See gtk_image_new_from_icon_name() for details.


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