banshee r3419 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Playlist
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3419 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Playlist
- Date: Tue, 11 Mar 2008 16:02:10 +0000 (GMT)
Author: gburt
Date: Tue Mar 11 16:02:10 2008
New Revision: 3419
URL: http://svn.gnome.org/viewvc/banshee?rev=3419&view=rev
Log:
2008-03-11 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs:
Removed Equals and GetHashCode override that ignored type differences, and
caused the playqueue to disappear if you had a smartplaylist of the same
id.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Playlist/AbstractPlaylistSource.cs Tue Mar 11 16:02:10 2008
@@ -138,16 +138,5 @@
protected abstract void Create ();
protected abstract void Update ();
-
- public override bool Equals (object o)
- {
- AbstractPlaylistSource source = o as AbstractPlaylistSource;
- return source != null && source.DbId == DbId;
- }
-
- public override int GetHashCode ()
- {
- return DbId.GetHashCode ();
- }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]