mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
replace "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2008-02-06 Michael Natterer <mitch@imendio.com> * gfileinfo.c (g_file_info_get_icon): replace "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)". svn path=/trunk/; revision=6463
This commit is contained in:
parent
4e9a5de905
commit
2b02891ef7
@ -1,3 +1,8 @@
|
||||
2008-02-06 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gfileinfo.c (g_file_info_get_icon): replace
|
||||
"icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
|
||||
|
||||
2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
|
||||
|
||||
* gfile.c (g_file_create):
|
||||
|
@ -1315,7 +1315,7 @@ g_file_info_get_icon (GFileInfo *info)
|
||||
|
||||
value = g_file_info_find_value (info, attr);
|
||||
obj = _g_file_attribute_value_get_object (value);
|
||||
if (obj != NULL && G_IS_ICON (obj))
|
||||
if (G_IS_ICON (obj))
|
||||
return G_ICON (obj);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user