[glib] Fix the description for g_app_info_get_icon()
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix the description for g_app_info_get_icon()
- Date: Tue, 13 Sep 2011 15:38:59 +0000 (UTC)
commit 8152e3f54e8f7fd309d19ae35dd8f036067db754
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]