[gtk/wip/baedert/icontheme2] icontheme: Annotate return value as nullable



commit 81e91f2451878289fc831bf7d5bb1cb7b59c3c2f
Author: Timm Bäder <mail baedert org>
Date:   Sat Aug 31 10:46:06 2019 +0200

    icontheme: Annotate return value as nullable

 gtk/gtkicontheme.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 31ae2ce058..eb49b954e8 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -4456,7 +4456,8 @@ gtk_icon_theme_lookup_symbolic_colors (GtkCssStyle *style,
  *
  * See gtk_icon_info_load_symbolic() for more details.
  *
- * Returns: (transfer full): a #GdkPixbuf representing the loaded icon
+ * Returns: (transfer full) (nullable): a #GdkPixbuf representing the loaded icon
+ *   or %NULL If the icon could not be loaded
  */
 GdkPaintable *
 gtk_icon_info_load_symbolic_for_context (GtkIconInfo      *icon_info,


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