[gthumb] fixed file order not updated in a search catalog
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] fixed file order not updated in a search catalog
- Date: Wed, 11 Dec 2019 16:49:43 +0000 (UTC)
commit 3b293ec45956f345359680cb4987610bdc410552
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Dec 6 12:49:43 2019 +0100
fixed file order not updated in a search catalog
file store: always reorder even if the sort function is the same.
gthumb/gth-file-store.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gthumb/gth-file-store.c b/gthumb/gth-file-store.c
index d59cffe0..e4c2883f 100644
--- a/gthumb/gth-file-store.c
+++ b/gthumb/gth-file-store.c
@@ -1129,9 +1129,6 @@ gth_file_store_set_sort_func (GthFileStore *file_store,
GthFileDataCompFunc cmp_func,
gboolean inverse_sort)
{
- if ((cmp_func == file_store->priv->cmp_func) && (inverse_sort == file_store->priv->inverse_sort))
- return;
-
file_store->priv->cmp_func = cmp_func;
file_store->priv->inverse_sort = inverse_sort;
_gth_file_store_reorder (file_store);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]