]> git.meshlink.io Git - catta/commit
avahi-discover crashes if row is unselected
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Dec 2008 19:25:23 +0000 (20:25 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Dec 2008 19:25:23 +0000 (20:25 +0100)
commit17a87e365175dac3682735710522695b7e5a6bdc
tree19f8a5c6184fc61acb0443e65cacb253a3f24b6b
parentf3f1b8bb63a574853e2fbcafe47b121da972ca23
avahi-discover crashes if row is unselected

Quoting james_w:

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

Patch from james_w.

Closes #226.
avahi-python/avahi-discover/avahi-discover.in