projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd32d2
)
Fix the description for g_app_info_get_icon()
author
Richard Hughes
<richard@hughsie.com>
Tue, 13 Sep 2011 15:38:40 +0000
(16:38 +0100)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/gio/gappinfo.c
b/gio/gappinfo.c
index
e7a5543
..
231a6c5
100644
(file)
--- 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)