AsyncInitableT.newFinish

Finishes the async construction for the various g_async_initable_new calls, returning the created object or NULL on error.

template AsyncInitableT(TStruct)
newFinish

Parameters

res AsyncResultIF

the GAsyncResult from the callback

Return Value

Type: ObjectG

a newly created GObject, or NULL on error. Free with g_object_unref().

Throws

GException on failure.

Meta

Since

2.22