[gtk+/gtk-3-22] Image—Add some more missing (nullable) annotations
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] Image—Add some more missing (nullable) annotations
- Date: Fri, 17 Feb 2017 22:18:44 +0000 (UTC)
commit 6cdeac1c6a55f4a0796a56b19f729b16ddd31212
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 66f5d52..5f02e97 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]