[shotwell] Shotwell crashes when adjusting date/time: Closes bug #719098



commit aa32700e0632d7f9cca53fa9fafc5375754b9683
Author: Jim Nelson <jim yorba org>
Date:   Tue May 13 10:56:49 2014 -0700

    Shotwell crashes when adjusting date/time: Closes bug #719098
    
    Assertion was unnecessary and faulty.

 src/Event.vala |    2 --
 1 files changed, 0 insertions(+), 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)) {


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