BookmarkFile.removeApplication

Removes application registered with @name from the list of applications that have registered a bookmark for @uri inside @bookmark.

In the event the URI cannot be found, %FALSE is returned and @error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. In the event that no application with name @app_name has registered a bookmark for @uri, %FALSE is returned and error is set to #G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED.

class BookmarkFile
bool
removeApplication
(
string uri
,
string name
)

Parameters

uri string

a valid URI

name string

the name of the application

Return Value

Type: bool

%TRUE if the application was successfully removed.

Throws

GException on failure.

Meta

Since

2.12