GNOME Bugzilla – Bug 548308
"Show previous conversations" segfaults when there is no account
Last modified: 2008-08-20 08:54:44 UTC
Just start Empathy the first time; skip the account creation dialog; and select "show previous conversations". Empathy crashes. Note it was reported in Ubuntu but not forwarded upstream <https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/256796>.
Created attachment 116886 [details] [review] check there is a selected account Check there is a selected item before accessing its iter.
Great! Just little coding style: no space required after the ! and the if statement needs brackets even for one line: if (foo) { bar; } I mark the patch as accepted anyway :)
Thanks, fixed the issues and commited.