Method

GioAsyncInitableinit_finish

Declaration

gboolean
g_async_initable_init_finish (
  GAsyncInitable* initable,
  GAsyncResult* res,
  GError** error
)

Description

Finishes asynchronous initialization and returns the result. See g_async_initable_init_async().

Available since:2.22

Parameters

res GAsyncResult
 

A GAsyncResult.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if successful. If an error has occurred, this function will return FALSE and set error appropriately if present.