Method

FwupdPluginContextset_main_context

since: 2.1.8

Declaration [src]

void
fu_context_set_main_context (
  FuContext* self,
  GMainContext* main_ctx
)

Description [src]

Sets or clears the main context. This is only required by fwupdtool.

Available since: 2.1.8

Parameters

main_ctx

Type: GMainContext

A GMainContext.

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