KeyFile.removeComment

Removes a comment above key from group_name. If key is NULL then comment will be removed above group_name. If both key and group_name are NULL, then comment will be removed above the first group in the file. Since 2.6

class KeyFile
int
removeComment
(
string groupName
,
string key
)

Parameters

groupName string

a group name, or NULL. [allow-none]

key string

a key. [allow-none]

Return Value

Type: int

TRUE if the comment was removed, FALSE otherwise

Throws

GException on failure.

Meta