[gnome-photos] base-manager: Use photos_filterable_get_builtin
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] base-manager: Use photos_filterable_get_builtin
- Date: Sat, 20 Aug 2016 07:02:37 +0000 (UTC)
commit e43077e8b207dd677ef30f21a93e8d101d0a1e3b
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 5fea604..d873f4b 100644
--- a/src/photos-base-manager.c
+++ b/src/photos-base-manager.c
@@ -451,7 +451,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]