~mvo/software-center/fedora

Viewing all changes in revision 2582.

  • Committer: Giovanni Campagna
  • Date: 2011-12-02 14:56:14 UTC
  • Revision ID: gcampagna@src.gnome.org-20111202145614-fll8e5ngkdb0zpwh
Don't assume that the result of get_visible_range are both valid

Apparently, Gtk.TreeView.get_visible_range() can return just one
iter, in which case ok will be true, but calling compare will fail.
Just checking for each of them prevents exceptions.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: