Fix the description for g_app_info_get_icon()
authorRichard Hughes <richard@hughsie.com>
Tue, 13 Sep 2011 15:38:40 +0000 (16:38 +0100)
committerRichard Hughes <richard@hughsie.com>
Tue, 13 Sep 2011 15:38:40 +0000 (16:38 +0100)
It can return NULL when there is no default icon.

gio/gappinfo.c

index e7a5543..231a6c5 100644 (file)
@@ -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)