BookmarkFile.removeGroup

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.

class BookmarkFile
bool
removeGroup
(
string uri
,
string group
)

Parameters

uri string

a valid URI

group string

the group name to be removed

Return: %TRUE if @group was successfully removed.

Throws

GException on failure.

Meta

Since

2.12