Constructor

AgsTaskCompletionnew

since: 3.0.0

Declaration [src]

AgsTaskCompletion*
ags_task_completion_new (
  GObject* task,
  gpointer data
)

Description [src]

Create a new instance of AgsTaskCompletion.

Available since: 3.0.0

Parameters

task

Type: GObject

The AgsTask.

The data is owned by the caller of the function.
data

Type: gpointer

Pointer to user data.

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

Return value

Type: AgsTaskCompletion

The new AgsTaskCompletion.

The caller of the function takes ownership of the data, and is responsible for freeing it.