Method

MalcontentUserManagerload_async

unstable since: 0.14.0

Declaration [src]

void
mct_user_manager_load_async (
  MctUserManager* self,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  void* user_data
)

Description [src]

Load the user data from the system.

This must be called before the MctUserManager can be used.

It does not currently support being called more than once.

Available since: 0.14.0

This method completes asynchronously. Use mct_user_manager_load_finish() inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

cancellable

Type: GCancellable

A GCancellable, or NULL,.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

Callback for when the operation is complete.

The argument can be NULL.
user_data

Type: void*

Data to pass to callback.

The argument can be NULL.
The data is owned by the caller of the method.