[gthumb] Correctly update file lists after a file deletion, bug 529076
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb] Correctly update file lists after a file deletion, bug 529076
- Date: Tue, 2 Jun 2009 20:50:26 -0400 (EDT)
commit bdd7e049eb679c8eeb9d8fc9503340e6c4377eab
Author: Marc Pavot <marc pavot gmail com>
Date: Tue Jun 2 20:49:06 2009 -0400
Correctly update file lists after a file deletion, bug 529076
---
libgthumb/gth-file-list.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libgthumb/gth-file-list.c b/libgthumb/gth-file-list.c
index 97a0a75..355f617 100644
--- a/libgthumb/gth-file-list.c
+++ b/libgthumb/gth-file-list.c
@@ -1583,6 +1583,7 @@ gfl_delete (GthFileList *file_list,
fd = gth_file_list_filedata_from_path (file_list, uri, NULL);
if (fd != NULL) {
gth_file_view_remove (file_list->view, fd);
+ file_list->list = g_list_remove (file_list->list, fd);
file_data_unref (fd);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]