[gnome-photos/wip/rishi/item-manager: 3/11] item-manager: Remove hidden items that have been deleted out of band
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/item-manager: 3/11] item-manager: Remove hidden items that have been deleted out of band
- Date: Fri, 19 Aug 2016 20:17:32 +0000 (UTC)
commit c25da75a518e049f18aed6806e17d42cb05fb07b
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Aug 15 11:47:37 2016 +0200
item-manager: Remove hidden items that have been deleted out of band
In future, we should emit a signal so that the DestroyNotification can
be withdrawn.
https://bugzilla.gnome.org/show_bug.cgi?id=770157
src/photos-item-manager.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-item-manager.c b/src/photos-item-manager.c
index bc24a0b..d8c2724 100644
--- a/src/photos-item-manager.c
+++ b/src/photos-item-manager.c
@@ -203,6 +203,7 @@ photos_item_manager_changes_pending_foreach (gpointer key, gpointer value, gpoin
if (object != NULL)
{
photos_base_item_destroy (PHOTOS_BASE_ITEM (object));
+ g_hash_table_remove (self->hidden_items, change_urn);
photos_base_manager_remove_object_by_id (PHOTOS_BASE_MANAGER (self), change_urn);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]