aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-12-15 20:15:16 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-12-15 20:15:16 +0800
commitcfa073deca1450a6ae17bad6b932a593f1d2bfc5 (patch)
treee70ce01724f8462766d319d47dafb232cab56222 /widgets
parent1a5bb1cef60c2b271749afe0a075f60c510e9c74 (diff)
downloadgsoc2013-evolution-cfa073deca1450a6ae17bad6b932a593f1d2bfc5.tar.gz
gsoc2013-evolution-cfa073deca1450a6ae17bad6b932a593f1d2bfc5.tar.zst
gsoc2013-evolution-cfa073deca1450a6ae17bad6b932a593f1d2bfc5.zip
** Fix for bug #557176
2008-12-15 Milan Crha <mcrha@redhat.com> ** Fix for bug #557176 * e-table-state.c: (e_table_state_load_from_node): Ensure the 'sort_info' member is never NULL. svn path=/trunk/; revision=36896
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/ChangeLog7
-rw-r--r--widgets/table/e-table-state.c3
2 files changed, 10 insertions, 0 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog
index 4034fe0a5a..d2de4354a2 100644
--- a/widgets/table/ChangeLog
+++ b/widgets/table/ChangeLog
@@ -1,3 +1,10 @@
+2008-12-15 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #557176
+
+ * e-table-state.c: (e_table_state_load_from_node):
+ Ensure the 'sort_info' member is never NULL.
+
2008-11-28 Felix Riemann <friemann@svn.gnome.org>
** Part of fix for bug #554464
diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c
index 9f173eb573..69d33486a2 100644
--- a/widgets/table/e-table-state.c
+++ b/widgets/table/e-table-state.c
@@ -189,6 +189,9 @@ e_table_state_load_from_node (ETableState *state,
state->columns = g_new(int, state->col_count);
state->expansions = g_new(double, state->col_count);
+ if (!state->sort_info)
+ state->sort_info = e_table_sort_info_new ();
+
for (iterator = list, i = 0; iterator; i++) {
int_and_double *column_info = iterator->data;