~timo-jyrinki/libaccounts-qt/rebuild_against_qt521

Viewing all changes in revision 113.

  • Committer: Alberto Mardegan
  • Date: 2013-01-18 11:55:29 UTC
  • Revision ID: git-v1:c8c151d2425cd058f77f8d5c5438ce798b8b3a8b
Use the new ag_account_store_async()

Use a GCancellable object in order to cancel the store operation; this
is needed because now the AgAccount object will not be disposed while a
store operation is in progress. So, the sotre callback might be invoked
even after our Account object has been destroyed, and we must be able to
detect this case.

Also, update the tests to take into account the fact that the store
callback is now called after iterating the main loop.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: