f-spot r4275 - in trunk: . src/Core
- From: rubenv svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4275 - in trunk: . src/Core
- Date: Sun, 17 Aug 2008 15:08:10 +0000 (UTC)
Author: rubenv
Date: Sun Aug 17 15:08:10 2008
New Revision: 4275
URL: http://svn.gnome.org/viewvc/f-spot?rev=4275&view=rev
Log:
2008-08-17 Ruben Vermeersch <ruben savanne be>
* src/Core/PhotoChanges.cs: Correctly check if versions_added and
versions_removed have been set. Based on a patch by Bengt Thuree. (Fixes
BGO #548104).
Modified:
trunk/ChangeLog
trunk/src/Core/PhotoChanges.cs
Modified: trunk/src/Core/PhotoChanges.cs
==============================================================================
--- trunk/src/Core/PhotoChanges.cs (original)
+++ trunk/src/Core/PhotoChanges.cs Sun Aug 17 15:08:10 2008
@@ -142,9 +142,9 @@
{
if (versions_modified == null)
versions_modified = new List<uint> ();
- if (versions_added.Contains (v))
+ if (versions_added != null && versions_added.Contains (v))
return;
- if (versions_removed.Contains (v))
+ if (versions_removed != null && versions_removed.Contains (v))
return;
versions_modified.Add (v);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]