mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-17 15:40:12 +00:00
listbase: Fix an off-by-one error
We were accidentally cutting off the set one-too-early, which showed up as single clicks not selecting an item anymore.
This commit is contained in:
parent
f8b4083f47
commit
facfff0022
@ -1355,7 +1355,7 @@ range_cb (guint position,
|
||||
{
|
||||
GtkSet *set = data;
|
||||
|
||||
gtk_set_find_range (set, position, gtk_set_get_max (set), start, n_items, selected);
|
||||
gtk_set_find_range (set, position, gtk_set_get_max (set) + 1, start, n_items, selected);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user