[gthumb/ext] fixed bug that prevented to change sort type
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] fixed bug that prevented to change sort type
- Date: Sun, 30 Aug 2009 20:04:39 +0000 (UTC)
commit 1b71d0db2573e29c98703c2b6c7d93b3c52a2e2e
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Aug 30 22:03:43 2009 +0200
fixed bug that prevented to change sort type
gthumb/gth-file-store.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-file-store.c b/gthumb/gth-file-store.c
index 242e817..b64cba6 100644
--- a/gthumb/gth-file-store.c
+++ b/gthumb/gth-file-store.c
@@ -1101,7 +1101,7 @@ 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))
+ if ((cmp_func == file_store->priv->cmp_func) && (inverse_sort == file_store->priv->inverse_sort))
return;
file_store->priv->cmp_func = cmp_func;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]