[gnome-photos/wip/rishi/share-point-1: 4/19] base-manager: Use photos_filterable_get_builtin



commit fbbcf3051eb92e1ce93e5b105ea66f292bd1dd07
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 0cd249b..3b51f57 100644
--- a/src/photos-base-manager.c
+++ b/src/photos-base-manager.c
@@ -457,7 +457,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]