Method

EDataServerSourceRegistrycreate_sources

since: 3.6

Declaration [src]

void
e_source_registry_create_sources (
  ESourceRegistry* registry,
  GList* list_of_sources,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description [src]

Asynchronously requests the D-Bus service create new key files for each ESource in list_of_sources. Each list element must be a scratch ESource with no GDBusObject.

When the operation is finished, callback will be called. You can then call e_source_registry_create_sources_finish() to get the result of the operation.

Available since: 3.6

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

Parameters

list_of_sources

Type: A list of ESource*

A list of ESource instances with no GDBusObject.

The data is owned by the caller of the method.
cancellable

Type: GCancellable

Optional GCancellable object, or NULL.

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

Type: GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied.

The argument can be NULL.
user_data

Type: gpointer

Data to pass to the callback function.

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