Commit c4224bf9 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

treeview: fix an off-by-one error

gtk_tree_view_get_path_at_pos() mistakenly identifies the first
pixel of all but the first column in a tree view as belonging to
the previous column.
parent b97c490b
......@@ -13564,7 +13564,7 @@ gtk_tree_view_get_path_at_pos (GtkTreeView *tree_view,
last_column = tmp_column;
width = gtk_tree_view_column_get_width (tmp_column);
if (remaining_x <= width)
if (remaining_x < width)
found = TRUE;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment