banshee r3209 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Database src/Core/Banshee.Services/Banshee.PlaybackController src/Core/Banshee.Services/Banshee.Playlists.Formats.Xspf src/Core/Banshee.Services/Banshee.Sources
- From: abock svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3209 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Database src/Core/Banshee.Services/Banshee.PlaybackController src/Core/Banshee.Services/Banshee.Playlists.Formats.Xspf src/Core/Banshee.Services/Banshee.Sources
- Date: Sun, 10 Feb 2008 21:40:13 +0000 (GMT)
Author: abock
Date: Sun Feb 10 21:40:13 2008
New Revision: 3209
URL: http://svn.gnome.org/viewvc/banshee?rev=3209&view=rev
Log:
2008-02-10 Aaron Bockover <abock gnome org>
* src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs:
* src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs:
* src/Core/Banshee.Services/Banshee.Playlists.Formats.Xspf/Playlist.cs:
* src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs:
Fixed more compiler warnings
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs
trunk/banshee/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
trunk/banshee/src/Core/Banshee.Services/Banshee.Playlists.Formats.Xspf/Playlist.cs
trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Database/BansheeModelProvider.cs Sun Feb 10 21:40:13 2008
@@ -38,13 +38,11 @@
{
public class BansheeModelProvider<T> : SqliteModelProvider<T> where T : new ()
{
- private BansheeDbConnection connection;
private string table_name;
public BansheeModelProvider (BansheeDbConnection connection, string table_name)
: base (connection)
{
- this.connection = connection;
this.table_name = table_name;
Init ();
}
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.PlaybackController/PlaybackControllerService.cs Sun Feb 10 21:40:13 2008
@@ -51,7 +51,6 @@
private TrackInfo current_track;
private TrackInfo changing_to_track;
- private ITrackModelSource current_track_source;
private Random random = new Random ();
@@ -251,10 +250,7 @@
public TrackInfo CurrentTrack {
get { return current_track; }
- protected set {
- current_track = value;
- current_track_source = Source;
- }
+ protected set { current_track = value; }
}
public ITrackModelSource Source {
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Playlists.Formats.Xspf/Playlist.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Playlists.Formats.Xspf/Playlist.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Playlists.Formats.Xspf/Playlist.cs Sun Feb 10 21:40:13 2008
@@ -50,8 +50,6 @@
private Uri license;
private DateTime date;
- private XmlDocument doc;
-
private List<Track> tracks = new List<Track>();
public Playlist()
@@ -59,9 +57,7 @@
}
private void Load(XmlDocument doc)
- {
- this.doc = doc;
-
+ {
XmlNamespaceManager xmlns = new XmlNamespaceManager(doc.NameTable);
xmlns.AddNamespace("xspf", XspfNamespace);
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/SourceManager.cs Sun Feb 10 21:40:13 2008
@@ -55,7 +55,6 @@
private Source default_source;
public event SourceEventHandler SourceUpdated;
- public event SourceEventHandler SourceViewChanged;
public event SourceAddedHandler SourceAdded;
public event SourceEventHandler SourceRemoved;
public event SourceEventHandler ActiveSourceChanged;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]