Returns the AppInfo that is registered as the default application to handle the file specified by this.
If cancellable
is not null, then the operation can be cancelled by triggering
the cancellable object from another thread. If the operation was cancelled, the error
g_io_error_cancelled will be returned.
this |
a File to open |
cancellable |
optional Cancellable object, null to ignore |
a AppInfo if the handle was found, null if there were errors. When you are done with it, release it with unref |