evolution r36897 - branches/gnome-2-24/widgets/table



Author: mcrha
Date: Mon Dec 15 12:15:32 2008
New Revision: 36897
URL: http://svn.gnome.org/viewvc/evolution?rev=36897&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:
   branches/gnome-2-24/widgets/table/ChangeLog
   branches/gnome-2-24/widgets/table/e-table-state.c

Modified: branches/gnome-2-24/widgets/table/e-table-state.c
==============================================================================
--- branches/gnome-2-24/widgets/table/e-table-state.c	(original)
+++ branches/gnome-2-24/widgets/table/e-table-state.c	Mon Dec 15 12:15:32 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]