[gnome-photos: 9/10] fetch-collection-state-job: Fix typo



commit 1b9ed1e9c63b73654a63cae9531d6f544a805101
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Apr 9 01:56:05 2013 +0200

    fetch-collection-state-job: Fix typo

 src/photos-fetch-collection-state-job.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-fetch-collection-state-job.c b/src/photos-fetch-collection-state-job.c
index ca61e4b..7f0398d 100644
--- a/src/photos-fetch-collection-state-job.c
+++ b/src/photos-fetch-collection-state-job.c
@@ -143,12 +143,12 @@ photos_fetch_collection_state_job_emit_callback (PhotosFetchCollectionStateJob *
         }
 
       if (found && not_found)
-        state != PHOTOS_COLLECTION_STATE_INCONSISTENT;
+        state |= PHOTOS_COLLECTION_STATE_INCONSISTENT;
       else if (found)
-        state != PHOTOS_COLLECTION_STATE_ACTIVE;
+        state |= PHOTOS_COLLECTION_STATE_ACTIVE;
 
       if (hidden)
-        state != PHOTOS_COLLECTION_STATE_HIDDEN;
+        state |= PHOTOS_COLLECTION_STATE_HIDDEN;
 
       g_hash_table_insert (collection_state, g_strdup (coll_idx), GINT_TO_POINTER (state));
     }


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