Function

IdeWorkbenchfrom_context

Declaration

IdeWorkbench*
ide_workbench_from_context (
  IdeContext* context
)

Description

Helper to get the IdeWorkbench for a given context.

Parameters

context

Type: IdeContext

An IdeContext.

The data is owned by the caller of the function.

Return value

Type: IdeWorkbench

An IdeWorkbench or NULL.

The data is owned by the called function.
The return value can be NULL.