BookmarkFile.getIcon

bool getIcon(string uri, out string href, out string mimeType)

Gets the icon of the bookmark for uri.

In the event the URI cannot be found, false is returned and error is set to G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.

Parameters

uria valid URI
hrefreturn location for the icon's location or null
mimeTypereturn location for the icon's MIME type or null

Returns

true if the icon for the bookmark for the URI was found.

You should free the returned strings.

Throws

[BookmarkFileException]