BookmarkFile.removeGroup

bool removeGroup(string uri, string group)

Removes group from the list of groups to which the bookmark for uri belongs to.

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 no group was defined, false is returned and error is set to G_BOOKMARK_FILE_ERROR_INVALID_VALUE.

Parameters

uria valid URI
groupthe group name to be removed

Returns

true if group was successfully removed.

Throws

[BookmarkFileException]