Virtual Method

GioLoadableIconload_finish

Declaration

GInputStream*
load_finish (
  GLoadableIcon* icon,
  GAsyncResult* res,
  char** type,
  GError** error
)

Description

Finishes an asynchronous icon load started in g_loadable_icon_load_async().

Parameters

res GAsyncResult
 

A GAsyncResult.

 The data is owned by the caller of the function.
type char**
 

A location to store the type of the loaded icon, NULL to ignore.

 The argument will be set by the function.
 The argument can be NULL.
 The called function takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GInputStream
 

A GInputStream to read the icon from.

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