[gtk+] treeview: Fix crash when scrolling to end
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: Fix crash when scrolling to end
- Date: Wed, 7 Dec 2011 19:13:01 +0000 (UTC)
commit 807a449f293baa77ad8bd58150eac91680270325
Author: Benjamin Otte <otte redhat com>
Date: Wed Dec 7 20:09:16 2011 +0100
treeview: Fix crash when scrolling to end
This broke in a4630d0e7b233479825b059e0df0e6d65b0e6734
https://bugzilla.gnome.org/show_bug.cgi?id=665741
gtk/gtktreeview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 4ea20bb..3bf9753 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -10545,7 +10545,7 @@ gtk_tree_view_move_cursor_start_end (GtkTreeView *tree_view,
do
{
- while (cursor_node && !_gtk_rbtree_is_nil (cursor_node))
+ while (cursor_node && !_gtk_rbtree_is_nil (cursor_node->right))
cursor_node = cursor_node->right;
if (cursor_node->children == NULL)
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]