f-spot r4228 - in trunk: . mono-addins/Mono.Addins/Mono.Addins
- From: rubenv svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4228 - in trunk: . mono-addins/Mono.Addins/Mono.Addins
- Date: Wed, 6 Aug 2008 18:18:53 +0000 (UTC)
Author: rubenv
Date: Wed Aug 6 18:18:53 2008
New Revision: 4228
URL: http://svn.gnome.org/viewvc/f-spot?rev=4228&view=rev
Log:
2008-08-06 Ruben Vermeersch <ruben savanne be>
* mono-addins/Mono.Addins/Mono.Addins/ExtensionNode.cs: Properly check for
null items. This causes trouble when a condition changes.
Mono.Addins probably needs an update, or better yet, let's just add it as
a dependency...
Modified:
trunk/ChangeLog
trunk/mono-addins/Mono.Addins/Mono.Addins/ExtensionNode.cs
Modified: trunk/mono-addins/Mono.Addins/Mono.Addins/ExtensionNode.cs
==============================================================================
--- trunk/mono-addins/Mono.Addins/Mono.Addins/ExtensionNode.cs (original)
+++ trunk/mono-addins/Mono.Addins/Mono.Addins/ExtensionNode.cs Wed Aug 6 18:18:53 2008
@@ -266,6 +266,9 @@
bool changed = false;
+ if (oldList == null)
+ return false;
+
foreach (ExtensionNode nod in oldList) {
if (ChildNodes [nod.Id] == null) {
changed = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]