[gthumb/gthumb-3-4] file store: no need to compact rows
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb/gthumb-3-4] file store: no need to compact rows
- Date: Mon, 3 Oct 2016 09:25:12 +0000 (UTC)
commit ce6c690e44d50c40da1ff6b708e3ce2eba1ecec9
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Sep 17 18:28:57 2016 +0200
file store: no need to compact rows
it's already compacted in _gth_file_store_hide_row
gthumb/gth-file-store.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gthumb/gth-file-store.c b/gthumb/gth-file-store.c
index 0ff71cd..8f7e95d 100644
--- a/gthumb/gth-file-store.c
+++ b/gthumb/gth-file-store.c
@@ -728,14 +728,6 @@ _gth_file_store_compact_rows (GthFileStore *file_store)
j++;
}
file_store->priv->tot_rows = j;
-
- for (i = 0, j = 0; i < file_store->priv->num_rows; i++)
- if (file_store->priv->rows[i] != NULL) {
- file_store->priv->rows[j] = file_store->priv->rows[i];
- file_store->priv->rows[j]->pos = j;
- j++;
- }
- file_store->priv->num_rows = j;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]