Hi,
In
https://bugs.launchpad.net/bugs/230337
a user reported that avahi-discover crashed for them.
Traceback (most recent call last):
File "/usr/bin/avahi-discover", line 64, in on_tree_view_cursor_changed
(name,interface,protocol,stype,domain) = self.treemodel.get(iter,1,2,3,4,5)
TypeError?: iter must be a GtkTreeIter?
I believe the cause of this was the a row was unselected,
meaning that get_selection() returned None for iter, which
then was used improperly in treemodel.get()
The attached patch should prevent this from happening. Please
consider applying it.
Thanks,
James