Method

GioFilequery_default_handler_finish

Declaration

GAppInfo*
g_file_query_default_handler_finish (
  GFile* file,
  GAsyncResult* result,
  GError** error
)

Description

Finishes a g_file_query_default_handler_async() operation.

Available since:2.60

Parameters

result 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: GAppInfo
 

A GAppInfo if the handle was found, NULL if there were errors. When you are done with it, release it with g_object_unref()

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