[gnome-photos] item-manager: Remove pre-COLLECTION_VIEW workaround



commit b3eab00aca5af1a3339035612c78eeb1dc0af5eb
Author: Debarshi Ray <debarshir gnome org>
Date:   Sun Jan 21 12:10:36 2018 +0100

    item-manager: Remove pre-COLLECTION_VIEW workaround
    
    This reverts commit f8ea5d48aaa1c83dc95863af7001639019372789.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786936

 src/photos-item-manager.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/photos-item-manager.c b/src/photos-item-manager.c
index b3847de2..616552eb 100644
--- a/src/photos-item-manager.c
+++ b/src/photos-item-manager.c
@@ -233,9 +233,6 @@ photos_item_manager_info_updated (PhotosBaseItem *item, gpointer user_data)
 
   id = photos_filterable_get_id (PHOTOS_FILTERABLE (item));
   updated_item = PHOTOS_BASE_ITEM (photos_base_manager_get_object_by_id (PHOTOS_BASE_MANAGER (self), id));
-  if (updated_item == NULL)
-    return;
-
   g_return_if_fail (updated_item == item);
 
   is_collection = photos_base_item_is_collection (item);


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