]> git.0d.be Git - empathy.git/commit
AccountChooser: don't return garbage from _set_account
authorWill Thompson <will.thompson@collabora.co.uk>
Fri, 9 Sep 2011 14:28:42 +0000 (15:28 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Tue, 13 Sep 2011 13:17:57 +0000 (14:17 +0100)
commit0a3f996d2ec2eed860edda7c36a9b6bdbd9d2722
tree8fc22859e7cc03980cb4537a7ff0f0c225c8fda1
parent80a217a0b8533f8f936140082b90da793bc1b154
AccountChooser: don't return garbage from _set_account

Previously, the 'set' field of the stack-allocated 'data' structure was
not initialized. It's explicitly set to TRUE if the account is found,
but never otherwise set; so if the account is not found, this function
returned random garbage.

Reviewed-by: Xavier Claessens <xclaesse@gmail.com>
libempathy-gtk/empathy-account-chooser.c