From c50df41b521e5cfb3d041857a3e2eb111784c7c1 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Fri, 28 Oct 2005 17:15:15 +0000 Subject: [PATCH] fix stupid thinko. 2005-10-28 Kristian Rietveld * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix stupid thinko. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ gtk/gtktreemodelfilter.c | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3d9814ce04..1c96b4fde8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-28 Kristian Rietveld + + * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix + stupid thinko. + 2005-10-28 Matthias Clasen * gtk/gtkdnd.c (gtk_drag_get_cursor): Fix the anchor of the default diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 3d9814ce04..1c96b4fde8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-10-28 Kristian Rietveld + + * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): fix + stupid thinko. + 2005-10-28 Matthias Clasen * gtk/gtkdnd.c (gtk_drag_get_cursor): Fix the anchor of the default diff --git a/gtk/gtktreemodelfilter.c b/gtk/gtktreemodelfilter.c index 535f312cc3..0895d6d1fe 100644 --- a/gtk/gtktreemodelfilter.c +++ b/gtk/gtktreemodelfilter.c @@ -1709,7 +1709,7 @@ gtk_tree_model_filter_row_deleted (GtkTreeModel *c_model, break; } - if (v_indices[level] > c_indices[level]) + if (common_prefix && v_indices[level] > c_indices[level]) (v_indices[level])--; } }