BookmarkFile.getIcon

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

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

Parameters

uri string

a valid URI

href string

return location for the icon's location or NULL

mimeType string

return location for the icon's MIME type or NULL

Return Value

Type: bool

TRUE if the icon for the bookmark for the URI was found. You should free the returned strings.

Throws

GException on failure.

Meta

Since

2.12