BookmarkFile.hasApplication

Checks whether the bookmark for @uri inside @bookmark has been registered by application @name.

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
hasApplication
(
string uri
,
string name
)

Parameters

uri string

a valid URI

name string

the name of the application

Return: %TRUE if the application @name was found

Throws

GException on failure.

Meta

Since

2.12