banshee r3210 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.SmartPlaylist
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r3210 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.SmartPlaylist
- Date: Sun, 10 Feb 2008 21:46:31 +0000 (GMT)
Author: gburt
Date: Sun Feb 10 21:46:31 2008
New Revision: 3210
URL: http://svn.gnome.org/viewvc/banshee?rev=3210&view=rev
Log:
2008-02-10 Gabriel Burt <gabriel burt gmail com>
* src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs:
Fixed/disabled more compiler warnings.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs
Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs (original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.SmartPlaylist/SmartPlaylistCore.cs Sun Feb 10 21:46:31 2008
@@ -15,6 +15,8 @@
using Banshee.Collection;
using Banshee.Collection.Database;
+#pragma warning disable 0169
+
namespace Banshee.SmartPlaylist
{
public class SmartPlaylistCore : IService
@@ -32,7 +34,7 @@
private uint event_counter = 0;
private bool rate_limited = false;
private uint seconds_ratelimited = 0;
- private uint ratelimit_timeout_id = 0;
+ //private uint ratelimit_timeout_id = 0;
private DateTime start;
private uint timeout_id = 0;
@@ -157,7 +159,7 @@
//Console.WriteLine ("rate limited");
rate_limited = true;
seconds_ratelimited = 0;
- ratelimit_timeout_id = GLib.Timeout.Add((uint)RATE_LIMIT_INTERVAL_MS, OnRateLimitTimer);
+ //ratelimit_timeout_id = GLib.Timeout.Add((uint)RATE_LIMIT_INTERVAL_MS, OnRateLimitTimer);
retval = true;
}
@@ -193,7 +195,7 @@
if (!rate_limited) {
//Console.WriteLine ("NOT rate limited");
last_check = DateTime.Now;
- ratelimit_timeout_id = 0;
+ //ratelimit_timeout_id = 0;
}
CpuTime = 0;
@@ -344,3 +346,5 @@
}
}
}
+
+#pragma warning restore 0169
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]