Use [glib.global.strfreev] to free it.
BookmarkFile.getGroups
string[] getGroups(string uri)Retrieves the list of group names of the bookmark for uri.
In the event the URI cannot be found, null is returned and error is set to G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND.
The returned array is null terminated, so length may optionally be null.
Parameters
uri | a valid URI |
Returns
a newly allocated null-terminated array of group names.
Throws
[BookmarkFileException]