[gnome-photos/wip/uajain/de_dup: 4/21] base-manager: Use photos_filterable_get_builtin
- From: Umang Jain <uajain src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/uajain/de_dup: 4/21] base-manager: Use photos_filterable_get_builtin
- Date: Sun, 7 Aug 2016 07:05:09 +0000 (UTC)
commit 0c5fcb5c8d24069483f4d81196ed38a0d602f865
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]