EDataServer.SourceRegistry.set_default_address_book

### Method

# EDataServer SourceRegistryset_default_address_book

since: 3.6

#### Declaration [src]

    void
    e_source_registry_set_default_address_book (
      ESourceRegistry* registry,
      ESource* default_source
    )

#### Description [src]

Sets `default_source` as the default address book. If `default_source` is `NULL`, the default address book is reset to the built-in address book. This setting will persist across sessions until changed.

Available since: 3.6

Sets property | `EDataServer.SourceRegistry:default-address-book`

#### Parameters

`default_source`

  Type: `ESource`

  An address book `ESource`, or `NULL`.

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