]> git.0d.be Git - empathy.git/commit
Fixed bug which would occur when deleting account with pending changes
authorJonathan Tellier <jonathan.tellier@gmail.com>
Fri, 28 Aug 2009 18:19:47 +0000 (14:19 -0400)
committerjtellier <jonathan.tellier@collabora.co.uk>
Fri, 28 Aug 2009 18:27:43 +0000 (14:27 -0400)
commite84021944cfde5665a5286b1dbabe296a67f7231
tree3568abc8deb98b01cddbf569e5eb1fe2484e6812
parent0f70b1bfb5714c98aa70d062b5ac7ec0e5a03dac
Fixed bug which would occur when deleting account with pending changes

- When the selected account was NULL,
  accounts_dialog_has_pending_change() would not check its state
  correctly. That function is working with a pointer on a pointer to the
  account and was not dereferencing properly.
- The pointer to the account we pass to
  accounts_dialog_has_pending_change() is now properly initialized to
  NULL.
- When deleting an account, the COL_ACCOUNT_POINTER column is now
  properly set to NULL.
src/empathy-accounts-dialog.c