EDataServer.Source.remove
Description: Reference for EDataServer.Source.remove

### Virtual Method

# EDataServer Sourceremove

since: 3.6

#### Declaration [src]

    void
    remove (
      ESource* source,
      GCancellable* cancellable,
      GAsyncReadyCallback callback,
      gpointer user_data
    )

#### Description [src]

Asynchronously requests the D-Bus service to delete the key files for `source` and all of its descendants and broadcast their removal to all clients. The `source` must be `ESource:removable`.

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

Available since: 3.6

#### Parameters

`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.

`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.