[gnome-photos] item-manager: Fix typo



commit bd4b00e5defca195ee5fec599e16e64265e195ef
Author: Debarshi Ray <debarshir gnome org>
Date:   Sun Jan 21 13:02:38 2018 +0100

    item-manager: Fix typo
    
    Fallout from bf69a1b7a271ea9fa3c65a1614e2d20e12d5b1d7
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770157

 src/photos-item-manager.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-item-manager.c b/src/photos-item-manager.c
index 542dd38c..f4a1aa67 100644
--- a/src/photos-item-manager.c
+++ b/src/photos-item-manager.c
@@ -395,11 +395,11 @@ static void
 photos_item_manager_item_created (PhotosItemManager *self, const gchar *urn)
 {
   GApplication *app;
-  PhotosBaseItem *old_hidden_item;
+  PhotosItemManagerHiddenItem *old_hidden_item;
   PhotosSearchContextState *state;
   PhotosSingleItemJob *job;
 
-  old_hidden_item = PHOTOS_BASE_ITEM (g_hash_table_lookup (self->hidden_items, urn));
+  old_hidden_item = (PhotosItemManagerHiddenItem *) g_hash_table_lookup (self->hidden_items, urn);
   g_return_if_fail (old_hidden_item == NULL);
 
   app = g_application_get_default ();


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