Blame SOURCES/evolution-3.8.5-crash-customize-mail-view.patch
|
|
7c6d83 |
diff -up evolution-3.8.5/e-util/e-table-memory-store.c.crash-customize-mail-view evolution-3.8.5/e-util/e-table-memory-store.c
|
|
|
7c6d83 |
--- evolution-3.8.5/e-util/e-table-memory-store.c.crash-customize-mail-view 2013-07-23 14:52:06.000000000 +0200
|
|
|
7c6d83 |
+++ evolution-3.8.5/e-util/e-table-memory-store.c 2014-08-25 17:30:33.996172102 +0200
|
|
|
7c6d83 |
@@ -109,7 +109,7 @@ etms_value_at (ETableModel *etm,
|
|
|
7c6d83 |
{
|
|
|
7c6d83 |
ETableMemoryStore *etms = E_TABLE_MEMORY_STORE (etm);
|
|
|
7c6d83 |
|
|
|
7c6d83 |
- return STORE_LOCATOR (etms, col, row);
|
|
|
7c6d83 |
+ return duplicate_value (etms, col, STORE_LOCATOR (etms, col, row));
|
|
|
7c6d83 |
}
|
|
|
7c6d83 |
|
|
|
7c6d83 |
static void
|
|
|
7c6d83 |
@@ -122,6 +122,8 @@ etms_set_value_at (ETableModel *etm,
|
|
|
7c6d83 |
|
|
|
7c6d83 |
e_table_model_pre_change (etm);
|
|
|
7c6d83 |
|
|
|
7c6d83 |
+ if (val != STORE_LOCATOR (etms, col, row))
|
|
|
7c6d83 |
+ free_value (etms, col, STORE_LOCATOR (etms, col, row));
|
|
|
7c6d83 |
STORE_LOCATOR (etms, col, row) = duplicate_value (etms, col, val);
|
|
|
7c6d83 |
|
|
|
7c6d83 |
e_table_model_cell_changed (etm, col, row);
|