projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bafd4bd
)
fixed crash in icon list
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Tue, 28 Aug 2012 16:48:10 +0000
(18:48 +0200)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Tue, 28 Aug 2012 16:50:37 +0000
(18:50 +0200)
src/view_file_icon.c
patch
|
blob
|
history
diff --git
a/src/view_file_icon.c
b/src/view_file_icon.c
index
007a69d
..
1a7fe3c
100644
(file)
--- a/
src/view_file_icon.c
+++ b/
src/view_file_icon.c
@@
-1557,6
+1557,10
@@
static gboolean vficon_destroy_node_cb(GtkTreeModel *store, GtkTreePath *tpath,
GList *list;
gtk_tree_model_get(store, iter, FILE_COLUMN_POINTER, &list, -1);
+
+ /* it seems that gtk_list_store_clear may call some callbacks
+ that use the column. Set the pointer to NULL to be safe. */
+ gtk_list_store_set(GTK_LIST_STORE(store), iter, FILE_COLUMN_POINTER, NULL, -1);
g_list_free(list);
return FALSE;