• Benjamin Otte's avatar
    singleselection: Be more careful about notifies · 5e8b294f
    Benjamin Otte authored
    We don't want to notify::selected or notify::selected-item if they
    didn't change.
    This will bring performance benefits on frequently changing lists.
    In particular, if lists get filtered or reordered, but the selected item
    stays in the list, not doing a notify::selected-item will avoid updates
    in connected handlers like GtkDropdown (and its handlers), thereby
    avoiding lots of unnecessary updates.