[banshee: 12/61] [Banshee.Sources] Let PrimarySources contain such



commit 7f15a691811bbf4c73535b15030eace590e95f19
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Wed Oct 7 23:07:05 2009 -0700

    [Banshee.Sources] Let PrimarySources contain such

 .../Banshee.Sources/PrimarySource.cs               |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs b/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs
index f19049f..13e96d7 100644
--- a/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs
+++ b/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs
@@ -375,15 +375,6 @@ namespace Banshee.Sources
             get { return true; }
         }
 
-        public override void SetParentSource (Source source)
-        {
-            if (source is PrimarySource) {
-                throw new ArgumentException ("PrimarySource cannot have another PrimarySource as its parent");
-            }
-
-            base.SetParentSource (source);
-        }
-
         protected override void OnTracksAdded ()
         {
             ThreadAssist.SpawnFromMain (delegate {



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