banshee r3007 - in trunk/banshee: . src/Core/Banshee.Core/Banshee.Collection



Author: gburt
Date: Tue Jan 22 16:39:50 2008
New Revision: 3007
URL: http://svn.gnome.org/viewvc/banshee?rev=3007&view=rev

Log:
2008-01-22  Gabriel Burt  <gabriel burt gmail com>

	* src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs: Avoid NRE, thanks
	to Alex Hixon.


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	Tue Jan 22 16:39:50 2008
@@ -91,7 +91,7 @@
                 return false;
             }
             
-            return ArtistAlbumId.Equals (track.ArtistAlbumId);
+            return ArtistAlbumId == track.ArtistAlbumId;
         }
 
         public virtual void Save ()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]