Image—Add some more missing (nullable) annotations

This commit is contained in:
Daniel Boles 2017-02-17 22:01:32 +00:00 committed by djb
parent a729eeab0a
commit 6cdeac1c6a

View File

@ -795,7 +795,7 @@ gtk_image_new_from_animation (GdkPixbufAnimation *animation)
/** /**
* gtk_image_new_from_icon_name: * 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) * @size: (type int): a stock icon size (#GtkIconSize)
* *
* Creates a #GtkImage displaying an icon from the current icon theme. * 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: * gtk_image_set_from_icon_name:
* @image: a #GtkImage * @image: a #GtkImage
* @icon_name: an icon name * @icon_name: (nullable): an icon name or %NULL
* @size: (type int): an icon size (#GtkIconSize) * @size: (type int): an icon size (#GtkIconSize)
* *
* See gtk_image_new_from_icon_name() for details. * See gtk_image_new_from_icon_name() for details.