set the sort_func correctly, 77030

Tue Apr  2 11:10:13 2002  Jonathan Blandford  <jrb@redhat.com>
	* gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
	sort_func correctly, 77030
This commit is contained in:
Jonathan Blandford 2002-04-02 16:19:33 +00:00 committed by Jonathan Blandford
parent e6b73bedd3
commit cdafcb42b1
8 changed files with 40 additions and 6 deletions

View File

@ -1,3 +1,7 @@
Tue Apr 2 11:10:13 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
sort_func correctly, 77030
Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org> Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org>
* configure.in: update version to 2.0.2, binary age 2, interface * configure.in: update version to 2.0.2, binary age 2, interface

View File

@ -1,3 +1,7 @@
Tue Apr 2 11:10:13 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
sort_func correctly, 77030
Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org> Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org>
* configure.in: update version to 2.0.2, binary age 2, interface * configure.in: update version to 2.0.2, binary age 2, interface

View File

@ -1,3 +1,7 @@
Tue Apr 2 11:10:13 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
sort_func correctly, 77030
Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org> Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org>
* configure.in: update version to 2.0.2, binary age 2, interface * configure.in: update version to 2.0.2, binary age 2, interface

View File

@ -1,3 +1,7 @@
Tue Apr 2 11:10:13 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
sort_func correctly, 77030
Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org> Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org>
* configure.in: update version to 2.0.2, binary age 2, interface * configure.in: update version to 2.0.2, binary age 2, interface

View File

@ -1,3 +1,7 @@
Tue Apr 2 11:10:13 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
sort_func correctly, 77030
Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org> Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org>
* configure.in: update version to 2.0.2, binary age 2, interface * configure.in: update version to 2.0.2, binary age 2, interface

View File

@ -1,3 +1,7 @@
Tue Apr 2 11:10:13 2002 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_list_store_set_sort_func): set the
sort_func correctly, 77030
Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org> Tue Apr 2 13:44:27 2002 Tim Janik <timj@gtk.org>
* configure.in: update version to 2.0.2, binary age 2, interface * configure.in: update version to 2.0.2, binary age 2, interface

View File

@ -1914,9 +1914,14 @@ gtk_list_store_set_sort_func (GtkTreeSortable *sortable,
for (list = list_store->sort_list; list; list = list->next) for (list = list_store->sort_list; list; list = list->next)
{ {
header = (GtkTreeDataSortHeader*) list->data; GtkTreeDataSortHeader *list_header;
if (header->sort_column_id == sort_column_id)
break; list_header = (GtkTreeDataSortHeader*) list->data;
if (list_header->sort_column_id == sort_column_id)
{
header = list_header;
break;
}
} }
if (header == NULL) if (header == NULL)

View File

@ -2202,9 +2202,14 @@ gtk_tree_store_set_sort_func (GtkTreeSortable *sortable,
for (list = tree_store->sort_list; list; list = list->next) for (list = tree_store->sort_list; list; list = list->next)
{ {
header = (GtkTreeDataSortHeader*) list->data; GtkTreeDataSortHeader *list_header;
if (header->sort_column_id == sort_column_id)
break; list_header = (GtkTreeDataSortHeader*) list->data;
if (list_header->sort_column_id == sort_column_id)
{
header = list_header;
break;
}
} }
if (header == NULL) if (header == NULL)