Fwupd.Client.set_main_context

### Method

# Fwupd Clientset_main_context

since: 1.5.3

#### Declaration [src]

    void
    fwupd_client_set_main_context (
      FwupdClient* self,
      GMainContext* main_ctx
    )

#### Description [src]

Sets the internal main context to use for returning progress signals.

Available since: 1.5.3

#### Parameters

`main_ctx`

  Type: `GMainContext`

  The global default main context to use.

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