[gnome-photos/wip/uajain/de_dup: 41/58] base-manager: Use photos_filterable_get_builtin



commit 814640034d59aed3a4614d71857c8b8680545d10
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jul 27 18:43:29 2016 +0200

    base-manager: Use photos_filterable_get_builtin

 src/photos-base-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-base-manager.c b/src/photos-base-manager.c
index fce017f..dd71022 100644
--- a/src/photos-base-manager.c
+++ b/src/photos-base-manager.c
@@ -482,7 +482,7 @@ photos_base_manager_process_new_objects (PhotosBaseManager *self, GHashTable *ne
       /* If old objects are not found in the newer hash table, remove
        * them.
        */
-      g_object_get (object, "builtin", &builtin, NULL);
+      builtin = photos_filterable_get_builtin (PHOTOS_FILTERABLE (object));
       if (g_hash_table_lookup (new_objects, id) == NULL && !builtin)
         {
           g_object_ref (object);


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