projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa6a11
)
Revert wrong patch rev 676.
author
Laurent Monin
<geeqie@norz.org>
Mon, 5 May 2008 09:21:01 +0000
(09:21 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Mon, 5 May 2008 09:21:01 +0000
(09:21 +0000)
src/view_file_icon.c
patch
|
blob
|
history
diff --git
a/src/view_file_icon.c
b/src/view_file_icon.c
index
4c08a10
..
9ac7608
100644
(file)
--- a/
src/view_file_icon.c
+++ b/
src/view_file_icon.c
@@
-1687,16
+1687,15
@@
static void vficon_populate(ViewFile *vf, gint resize, gint keep_position)
list = vficon_add_row(vf, &iter);
while (work && list)
{
- IconData *id = work->data;
- work = work->next;
+ IconData *id;
+ id = work->data;
id->row = row;
- list->data =
id
;
+ list->data =
work->data
;
list = list->next;
+ work = work->next;
}
-
- g_list_free(list);
}
if (visible_id &&
@@
-1714,7
+1713,6
@@
static void vficon_populate(ViewFile *vf, gint resize, gint keep_position)
{
tree_view_row_make_visible(GTK_TREE_VIEW(vf->listview), &iter, FALSE);
}
- g_list_free(list);
}
VFICON_INFO(vf, rows) = row + 1;