[glib/glib-2-30] Fix the description for g_app_info_get_icon()



commit c5317a875c7b6034fbbff27af8c302cdfc9a32fc
Author: Richard Hughes <richard hughsie com>
Date:   Tue Sep 13 16:38:40 2011 +0100

    Fix the description for g_app_info_get_icon()
    
    It can return NULL when there is no default icon.

 gio/gappinfo.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gio/gappinfo.c b/gio/gappinfo.c
index e7a5543..231a6c5 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)



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