f-spot r4158 - in trunk: . src



Author: rubenv
Date: Sat Jul  5 16:16:39 2008
New Revision: 4158
URL: http://svn.gnome.org/viewvc/f-spot?rev=4158&view=rev

Log:
2008-07-05  Ruben Vermeersch  <ruben savanne be>

	* src/PhotoStore.cs: Die with an exception, rather than warning.


Modified:
   trunk/ChangeLog
   trunk/src/PhotoStore.cs

Modified: trunk/src/PhotoStore.cs
==============================================================================
--- trunk/src/PhotoStore.cs	(original)
+++ trunk/src/PhotoStore.cs	Sat Jul  5 16:16:39 2008
@@ -426,9 +426,7 @@
 //	[Obsolete("WARNING! You should not use this one for photos, the events are not specific enough")]
 	public override void Commit (DbItem item)
 	{
-		Log.Warning ("You should not use PhotoStore.Commit(DbItem) for photos, the events are not specific enough");
-		Log.Warning (Environment.StackTrace);
-		Commit (item as Photo, true, true);
+		throw new NotImplementedException("You should not use PhotoStore.Commit(DbItem) for photos, the events are not specific enough");
 	}
 
 	public void Commit (Photo photo, bool metadata_changed, bool data_changed)



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