From c5317a875c7b6034fbbff27af8c302cdfc9a32fc Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 13 Sep 2011 16:38:40 +0100 Subject: [PATCH] Fix the description for g_app_info_get_icon() It can return NULL when there is no default icon. --- gio/gappinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gio/gappinfo.c b/gio/gappinfo.c index e7a55434d..231a6c5ae 100644 --- a/gio/gappinfo.c +++ b/gio/gappinfo.c @@ -465,7 +465,8 @@ g_app_info_remove_supports_type (GAppInfo *appinfo, * * Gets the icon for the application. * - * Returns: (transfer none): the default #GIcon for @appinfo. + * Returns: (transfer none): the default #GIcon for @appinfo or %NULL + * if there is no default icon. **/ GIcon * g_app_info_get_icon (GAppInfo *appinfo)