Function
GioAppInfoget_default_for_uri_scheme
Description
Gets the default application for handling URIs with the given URI scheme. A URI scheme is the initial part of the URI, up to but not including the ‘:’, e.g. “http”, “ftp” or “sip”.
Parameters
uri_scheme
-
Type:
const char*
A string containing a URI scheme.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: GAppInfo
GAppInfo
for given uri_scheme
or
NULL
on error.
The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL . |