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



commit 8af5578159ed446c1e3befc3adc7dce14b7ea53c
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]