File 0001-Shotwell-crashes-when-adjusting-date-time-Closes-bug.patch of Package shotwell.1055

From aa32700e0632d7f9cca53fa9fafc5375754b9683 Mon Sep 17 00:00:00 2001
From: Jim Nelson <jim@yorba.org>
Date: Tue, 13 May 2014 10:56:49 -0700
Subject: [PATCH] Shotwell crashes when adjusting date/time: Closes bug #719098

Assertion was unnecessary and faulty.
---
 src/Event.vala | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/Event.vala b/src/Event.vala
index ce7c97a..ed0af76 100644
--- a/src/Event.vala
+++ b/src/Event.vala
@@ -458,8 +458,6 @@ public class Event : EventSource, ContainerSource, Proxyable, Indexable {
                 should_remake_thumb = true;
         }
         
-        assert(get_primary_source() is MediaSource);
-        
         if (should_remake_thumb) {
             // check whether we actually need to remake this thumbnail...
             if ((get_primary_source() == null) || (get_primary_source().get_rating() == Rating.REJECTED)) {
-- 
1.8.4

openSUSE Build Service is sponsored by