AppInfo.getDefaultForTypeFinish

gio.app_info.AppInfo getDefaultForTypeFinish(gio.async_result.AsyncResult result)

Finishes a default #GAppInfo lookup started by [gio.app_info.AppInfo.getDefaultForTypeAsync].

If no #GAppInfo is found, then error will be set to [gio.types.IOErrorEnum.NotFound].

Parameters

resulta #GAsyncResult

Returns

#GAppInfo for given content_type or

null on error.

Throws

[ErrorWrap]