Merge from HEAD.

Fri Jul  5 12:51:39 2002  Kristian Rietveld  <kris@gtk.org>

        Merge from HEAD.

        * gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after            sorting.
This commit is contained in:
Kristian Rietveld 2002-07-05 10:44:36 +00:00 committed by Kristian Rietveld
parent d199e71d47
commit c9bd72a3bf
7 changed files with 43 additions and 0 deletions

View File

@ -1,3 +1,10 @@
Fri Jul 5 12:51:39 2002 Kristian Rietveld <kris@gtk.org>
Merge from HEAD.
* gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after
sorting.
2002-07-02 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtksocket.c (gtk_socket_hierarchy_changed):

View File

@ -1,3 +1,10 @@
Fri Jul 5 12:51:39 2002 Kristian Rietveld <kris@gtk.org>
Merge from HEAD.
* gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after
sorting.
2002-07-02 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtksocket.c (gtk_socket_hierarchy_changed):

View File

@ -1,3 +1,10 @@
Fri Jul 5 12:51:39 2002 Kristian Rietveld <kris@gtk.org>
Merge from HEAD.
* gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after
sorting.
2002-07-02 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtksocket.c (gtk_socket_hierarchy_changed):

View File

@ -1,3 +1,10 @@
Fri Jul 5 12:51:39 2002 Kristian Rietveld <kris@gtk.org>
Merge from HEAD.
* gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after
sorting.
2002-07-02 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtksocket.c (gtk_socket_hierarchy_changed):

View File

@ -1,3 +1,10 @@
Fri Jul 5 12:51:39 2002 Kristian Rietveld <kris@gtk.org>
Merge from HEAD.
* gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after
sorting.
2002-07-02 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtksocket.c (gtk_socket_hierarchy_changed):

View File

@ -1,3 +1,10 @@
Fri Jul 5 12:51:39 2002 Kristian Rietveld <kris@gtk.org>
Merge from HEAD.
* gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after
sorting.
2002-07-02 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtksocket.c (gtk_socket_hierarchy_changed):

View File

@ -1684,6 +1684,7 @@ gtk_list_store_sort (GtkListStore *list_store)
g_array_index (sort_array, SortTuple, i + 1).el;
g_array_index (sort_array, SortTuple, list_store->length - 1).el->next = NULL;
list_store->root = g_array_index (sort_array, SortTuple, 0).el;
list_store->tail = g_array_index (sort_array, SortTuple, list_store->length - 1).el;
/* Let the world know about our new order */
new_order = g_new (gint, list_store->length);