]> Pileus Git - ~andy/gtk/commitdiff
increase value of new_location by one if cmp_a > 0 and we hit the end of
authorKristian Rietveld <kris@gtk.org>
Thu, 7 Mar 2002 21:18:28 +0000 (21:18 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Thu, 7 Mar 2002 21:18:28 +0000 (21:18 +0000)
Thu Mar  7 21:32:01 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
        value of new_location by one if cmp_a > 0 and we hit the end of
        the list.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktreestore.c

index 61273af8538c13403757082646caa3879b5308f7..0a4e21fe421a91fec42b9d95d777cada86db5236 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Mar  7 21:32:01 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
+       value of new_location by one if cmp_a > 0 and we hit the end of
+       the list.
+
 Thu Mar  7 10:31:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where
index 61273af8538c13403757082646caa3879b5308f7..0a4e21fe421a91fec42b9d95d777cada86db5236 100644 (file)
@@ -1,3 +1,9 @@
+Thu Mar  7 21:32:01 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
+       value of new_location by one if cmp_a > 0 and we hit the end of
+       the list.
+
 Thu Mar  7 10:31:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where
index 61273af8538c13403757082646caa3879b5308f7..0a4e21fe421a91fec42b9d95d777cada86db5236 100644 (file)
@@ -1,3 +1,9 @@
+Thu Mar  7 21:32:01 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
+       value of new_location by one if cmp_a > 0 and we hit the end of
+       the list.
+
 Thu Mar  7 10:31:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where
index 61273af8538c13403757082646caa3879b5308f7..0a4e21fe421a91fec42b9d95d777cada86db5236 100644 (file)
@@ -1,3 +1,9 @@
+Thu Mar  7 21:32:01 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
+       value of new_location by one if cmp_a > 0 and we hit the end of
+       the list.
+
 Thu Mar  7 10:31:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where
index 61273af8538c13403757082646caa3879b5308f7..0a4e21fe421a91fec42b9d95d777cada86db5236 100644 (file)
@@ -1,3 +1,9 @@
+Thu Mar  7 21:32:01 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
+       value of new_location by one if cmp_a > 0 and we hit the end of
+       the list.
+
 Thu Mar  7 10:31:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where
index 61273af8538c13403757082646caa3879b5308f7..0a4e21fe421a91fec42b9d95d777cada86db5236 100644 (file)
@@ -1,3 +1,9 @@
+Thu Mar  7 21:32:01 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
+       value of new_location by one if cmp_a > 0 and we hit the end of
+       the list.
+
 Thu Mar  7 10:31:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where
index 61273af8538c13403757082646caa3879b5308f7..0a4e21fe421a91fec42b9d95d777cada86db5236 100644 (file)
@@ -1,3 +1,9 @@
+Thu Mar  7 21:32:01 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
+       value of new_location by one if cmp_a > 0 and we hit the end of
+       the list.
+
 Thu Mar  7 10:31:57 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where
index 5b52b7437f856ace129281a5b0d661acce2c4b2f..17e2ea6445740336b7da274121e0179a42532bf5 100644 (file)
@@ -2056,6 +2056,7 @@ gtk_tree_store_sort_iter_changed (GtkTreeStore *tree_store,
 
   if ((!node->next) && (cmp_a > 0))
     {
+      new_location++;
       node->next = G_NODE (iter->user_data);
       node->next->prev = node;
     }