banshee r3448 - in trunk/banshee: . src/Core/Banshee.Core/Banshee.Collection
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3448 - in trunk/banshee: . src/Core/Banshee.Core/Banshee.Collection
- Date: Thu, 13 Mar 2008 18:35:07 +0000 (GMT)
Author: abock
Date: Thu Mar 13 18:35:07 2008
New Revision: 3448
URL: http://svn.gnome.org/viewvc/banshee?rev=3448&view=rev
Log:
2008-03-13 Aaron Bockover <abock gnome org>
* src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Protect against
NRE when comparing track objects
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs
Modified: trunk/banshee/src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs (original)
+++ trunk/banshee/src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs Thu Mar 13 18:35:07 2008
@@ -86,7 +86,7 @@
public virtual bool TrackEqual (TrackInfo track)
{
- if (track == null) {
+ if (track == null || track.Uri == null || Uri == null) {
return false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]