[Banshee-List] lame attribute patch
- From: John Luke <john luke gmail com>
- To: banshee-list gnome org
- Subject: [Banshee-List] lame attribute patch
- Date: Sat, 07 Jan 2006 23:09:16 -0500
Hello,
A little patch to mark some attributes as sealed, one for entagged-sharp
and two for banshee. Just something I noticed while looking for
something else.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/banshee/ChangeLog,v
retrieving revision 1.301
diff -u -p -u -r1.301 ChangeLog
--- ChangeLog 6 Jan 2006 20:39:21 -0000 1.301
+++ ChangeLog 8 Jan 2006 04:01:17 -0000
@@ -1,3 +1,8 @@
+2006-01-07 John Luke <john luke gmail com>
+
+ * src/Banshee.Base/Dap/DapMisc.cs: mark SupportedCodec and
+ DapProperties attributes sealed
+
2006-01-06 Chris Toshok <toshok ximian com>
* src/Banshee.Plugins/Audioscrobbler/Engine.cs: if we've
Index: src/Banshee.Base/Dap/DapMisc.cs
===================================================================
RCS file: /cvs/gnome/banshee/src/Banshee.Base/Dap/DapMisc.cs,v
retrieving revision 1.2
diff -u -p -u -r1.2 DapMisc.cs
--- src/Banshee.Base/Dap/DapMisc.cs 18 Dec 2005 08:51:43 -0000 1.2
+++ src/Banshee.Base/Dap/DapMisc.cs 8 Jan 2006 04:01:17 -0000
@@ -62,7 +62,7 @@ namespace Banshee.Dap
}
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
- public class DapProperties : Attribute
+ public sealed class DapProperties : Attribute
{
private DapType dap_type;
private string pipeline_name;
@@ -89,7 +89,7 @@ namespace Banshee.Dap
}
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
- public class SupportedCodec : Attribute
+ public sealed class SupportedCodec : Attribute
{
private string codec_type;
Index: ChangeLog
===================================================================
--- ChangeLog (revision 55202)
+++ ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2006-01-07 John Luke <john luke gmail com>
+
+ * src/Util/CustomAttributes.cs: mark SupportedMimeType sealed
+
2005-12-11 Daniel Drake <dsd gentoo org>
* tests/samples/sample.wma: A tagged WMA sample thanks to Andy Carvell.
Index: src/Util/CustomAttributes.cs
===================================================================
--- src/Util/CustomAttributes.cs (revision 55202)
+++ src/Util/CustomAttributes.cs (working copy)
@@ -24,7 +24,7 @@
namespace Entagged.Audioformats.Util
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple=true)]
- public class SupportedMimeType : Attribute
+ public sealed class SupportedMimeType : Attribute
{
private string mime_type;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]