[banshee] [os x] Don't throw if the video context is unsupported



commit f30e73ebdbeff23084826ab54d173b40c246b144
Author: Aaron Bockover <abockover novell com>
Date:   Sun May 24 00:09:02 2009 -0400

    [os x] Don't throw if the video context is unsupported
---
 .../Banshee.NowPlaying/NowPlayingSource.cs         |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs b/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs
index 44d0422..e34ddfe 100644
--- a/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs
+++ b/src/Extensions/Banshee.NowPlaying/Banshee.NowPlaying/NowPlayingSource.cs
@@ -47,11 +47,6 @@ namespace Banshee.NowPlaying
         
         public NowPlayingSource () : base ("now-playing", Catalog.GetString ("Now Playing"), 10, "now-playing")
         {
-            if (Banshee.ServiceStack.ServiceManager.PlayerEngine.VideoDisplayContextType != 
-                Banshee.MediaEngine.VideoDisplayContextType.GdkWindow) {
-                throw new ApplicationException ("Unsupported video display context");
-            }
-        
             now_playing_interface = new NowPlayingInterface ();
         
             Properties.SetString ("Icon.Name", "applications-multimedia");



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