mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 16:38:54 +02: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:
committed by
Michael Natterer
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>
|
2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
|
||||||
|
|
||||||
* gfile.c (g_file_create):
|
* gfile.c (g_file_create):
|
||||||
|
@@ -1315,7 +1315,7 @@ g_file_info_get_icon (GFileInfo *info)
|
|||||||
|
|
||||||
value = g_file_info_find_value (info, attr);
|
value = g_file_info_find_value (info, attr);
|
||||||
obj = _g_file_attribute_value_get_object (value);
|
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 G_ICON (obj);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user