forked from AuroraMiddleware/gtk
treeview: Fix crash when scrolling to end
This broke in a4630d0e7b
https://bugzilla.gnome.org/show_bug.cgi?id=665741
This commit is contained in:
parent
8f4f7faa11
commit
807a449f29
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user