f-spot r4637 - in trunk: . src/Platform/Gnome
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4637 - in trunk: . src/Platform/Gnome
- Date: Wed, 26 Nov 2008 14:37:25 +0000 (UTC)
Author: sdelcroix
Date: Wed Nov 26 14:37:25 2008
New Revision: 4637
URL: http://svn.gnome.org/viewvc/f-spot?rev=4637&view=rev
Log:
2008-11-26 Stephane Delcroix <sdelcroix novell com>
* src/Platform/Gnome/ThumbnailFactory.cs: check for null params in public
methods.
Modified:
trunk/ChangeLog
trunk/src/Platform/Gnome/ThumbnailFactory.cs
Modified: trunk/src/Platform/Gnome/ThumbnailFactory.cs
==============================================================================
--- trunk/src/Platform/Gnome/ThumbnailFactory.cs (original)
+++ trunk/src/Platform/Gnome/ThumbnailFactory.cs Wed Nov 26 14:37:25 2008
@@ -127,6 +127,9 @@
public static bool ThumbnailIsRecent (Uri imageUri)
{
+ if (imageUri == null)
+ throw new ArgumentNullException ("imageUri");
+
if (!imageUri.IsFile)
Log.Debug ("FIXME: compute timestamp on non file uri too");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]