[gthumb] file store: no need to compact rows
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] file store: no need to compact rows
- Date: Sat, 17 Sep 2016 16:48:13 +0000 (UTC)
commit de564a7097eb62259f0946e259ca6d6aabe1e30f
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]