[eog/wip/friemann/image-ref-cnt] EogListStore: Do not add unnecessary references on deleted images
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/wip/friemann/image-ref-cnt] EogListStore: Do not add unnecessary references on deleted images
- Date: Thu, 3 Dec 2020 19:06:50 +0000 (UTC)
commit 600351bb91d4b1a009802faa2a25e58774498742
Author: Felix Riemann <friemann gnome org>
Date: Thu Dec 3 19:41:54 2020 +0100
EogListStore: Do not add unnecessary references on deleted images
src/eog-list-store.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/src/eog-list-store.c b/src/eog-list-store.c
index baeada40..7d798971 100644
--- a/src/eog-list-store.c
+++ b/src/eog-list-store.c
@@ -419,12 +419,6 @@ file_monitor_changed_cb (GFileMonitor *monitor,
case G_FILE_MONITOR_EVENT_MOVED_OUT:
case G_FILE_MONITOR_EVENT_DELETED:
if (is_file_in_list_store_file (store, file, &iter)) {
- EogImage *image;
-
- gtk_tree_model_get (GTK_TREE_MODEL (store), &iter,
- EOG_LIST_STORE_EOG_IMAGE, &image,
- -1);
-
eog_list_store_remove (store, &iter);
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]