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