Image—Add some more missing (nullable) annotations
authorDaniel Boles <dboles@src.gnome.org>
Fri, 17 Feb 2017 22:01:32 +0000 (22:01 +0000)
committerdjb <db0451@gmail.com>
Fri, 17 Feb 2017 22:13:48 +0000 (22:13 +0000)
gtk/gtkimage.c

index 66f5d5289b169312b78e9a0e5434d256604a376d..5f02e97b289e07d1182cc5eb26accedcc1cc968a 100644 (file)
@@ -795,7 +795,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.
@@ -1210,7 +1210,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.