Add back in main loop calls during sorting.

2000-05-04  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-sorted-variable.c (qsort_callback): Add back in main
	loop calls during sorting.

svn path=/trunk/; revision=2788
This commit is contained in:
Christopher James Lahey
2000-05-04 03:31:30 +00:00
committed by Chris Lahey
parent f2f3f80fbe
commit 8e733f8305
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-05-04 Christopher James Lahey <clahey@helixcode.com>
* e-table-sorted-variable.c (qsort_callback): Add back in main
loop calls during sorting.
2000-05-04 Christopher James Lahey <clahey@helixcode.com>
* e-table-sorted-variable.c: Replace insert sort completely with a

View File

@ -192,6 +192,8 @@ qsort_callback(const void *data1, const void *data2)
int sort_count = e_table_sort_info_sorting_get_count(etsv_closure->sort_info);
int comp_val = 0;
int ascending = 1;
while(gtk_events_pending())
gtk_main_iteration();
for (j = 0; j < sort_count; j++) {
ETableSortColumn column = e_table_sort_info_sorting_get_nth(etsv_closure->sort_info, j);
ETableCol *col;

View File

@ -192,6 +192,8 @@ qsort_callback(const void *data1, const void *data2)
int sort_count = e_table_sort_info_sorting_get_count(etsv_closure->sort_info);
int comp_val = 0;
int ascending = 1;
while(gtk_events_pending())
gtk_main_iteration();
for (j = 0; j < sort_count; j++) {
ETableSortColumn column = e_table_sort_info_sorting_get_nth(etsv_closure->sort_info, j);
ETableCol *col;