Commit 512ac214 authored by Benjamin Otte's avatar Benjamin Otte

a11y: Fix crash in treeview

This is a band-aid fix. The master branch has a complete rework of the
treeview a11y code. Let's hope this will cause most crashes to magically
disappear. This code has been indexing by random memory on the stack for
a long while and things didn't crash, so let's hope for the best.
parent 32c08de0
......@@ -3275,8 +3275,9 @@ refresh_cell_index (GtkCellAccessible *cell)
cell_info_get_index (tree_view, info, &index);
g_hash_table_steal (accessible->cell_info_by_index, &cell->index);
cell->index = index;
g_hash_table_insert (accessible->cell_info_by_index, &index, info);
g_hash_table_insert (accessible->cell_info_by_index, &cell->index, info);
static void
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment