Method
PurpleAccountManagerBackendsave_account_async
unstable since: 3.0
Declaration [src]
void
purple_account_manager_backend_save_account_async (
PurpleAccountManagerBackend* backend,
PurpleAccount* account,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Saves the given account to the backend.
Available since: 3.0
This method completes asynchronously. Use purple_account_manager_backend_save_account_finish()
inside the GAsyncReadyCallback
to obtain the result of the operation.
Parameters
account
-
Type:
PurpleAccount
The account to save.
The data is owned by the caller of the method. cancellable
-
Type:
GCancellable
An optional
GCancellable
object.The argument can be NULL
.The data is owned by the caller of the method. callback
-
Type:
GAsyncReadyCallback
A function to call when results are available.
The argument can be NULL
. data
-
Type:
gpointer
The user data to pass to the callback.
The argument can be NULL
.The data is owned by the caller of the method.