f-spot r4633 - in trunk: . src/Core
- From: sdelcroix svn gnome org
 
- To: svn-commits-list gnome org
 
- Subject: f-spot r4633 - in trunk: . src/Core
 
- Date: Wed, 26 Nov 2008 14:13:10 +0000 (UTC)
 
Author: sdelcroix
Date: Wed Nov 26 14:13:10 2008
New Revision: 4633
URL: http://svn.gnome.org/viewvc/f-spot?rev=4633&view=rev
Log:
do not use a 0 value in the Flag
2008-11-26  Stephane Delcroix  <sdelcroix novell com>
	* src/Core/PhotosChanges.cs: do not use a 0 value in the flag enum
Modified:
   trunk/ChangeLog
   trunk/src/Core/PhotosChanges.cs
Modified: trunk/src/Core/PhotosChanges.cs
==============================================================================
--- trunk/src/Core/PhotosChanges.cs	(original)
+++ trunk/src/Core/PhotosChanges.cs	Wed Nov 26 14:13:10 2008
@@ -17,7 +17,6 @@
 	{
 		[Flags ()]
 		enum Changes {
-			None 			= 0x0,
 			DefaultVersionId 	= 0x1,
 			Time			= 0x2,
 			Uri			= 0x4,
@@ -28,10 +27,10 @@
 			MD5Sum			= 0x80
 		}
 
-		Changes changes = Changes.None;
+		Changes changes = 0;
 
 		public bool MetadataChanged {
-			get { return (changes & ~Changes.Data) != Changes.None || TagsChanged || VersionsChanged; }
+			get { return (changes & ~Changes.Data) != 0 || TagsChanged || VersionsChanged; }
 		}
 
 		public bool DataChanged {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]