glib r6463 - trunk/gio
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6463 - trunk/gio
- Date: Wed, 6 Feb 2008 13:22:57 +0000 (GMT)
Author: mitch
Date: Wed Feb 6 13:22:57 2008
New Revision: 6463
URL: http://svn.gnome.org/viewvc/glib?rev=6463&view=rev
Log:
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)".
Modified:
trunk/gio/ChangeLog
trunk/gio/gfileinfo.c
Modified: trunk/gio/gfileinfo.c
==============================================================================
--- trunk/gio/gfileinfo.c (original)
+++ trunk/gio/gfileinfo.c Wed Feb 6 13:22:57 2008
@@ -1315,7 +1315,7 @@
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]