evolution r36896 - trunk/widgets/table



Author: mcrha
Date: Mon Dec 15 12:15:16 2008
New Revision: 36896
URL: http://svn.gnome.org/viewvc/evolution?rev=36896&view=rev

Log:
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.



Modified:
   trunk/widgets/table/ChangeLog
   trunk/widgets/table/e-table-state.c

Modified: trunk/widgets/table/e-table-state.c
==============================================================================
--- trunk/widgets/table/e-table-state.c	(original)
+++ trunk/widgets/table/e-table-state.c	Mon Dec 15 12:15:16 2008
@@ -189,6 +189,9 @@
 	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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]