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:
Matthias Clasen 2020-06-06 00:15:50 -04:00
parent f8b4083f47
commit facfff0022

View File

@ -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