Method
GLib KeyFileremove_group
since: 2.6
Declaration [src]
gboolean
g_key_file_remove_group(
GKeyFile*key_file,
constgchar*group_name,
GError**error
)
Parameters
group_name-
Type:
const gchar*A group name.
The data is owned by the caller of the method.The value is a NUL terminated UTF-8 string. error-
Type:
The return location for a recoverable error.
The argument can beNULL.If the return location is notNULL, then you must initialize it to aNULLGError*.The argument will be left initialized toNULLby the method if there are no errors.In case of error, the argument will be set to a newly allocatedGError; the caller will take ownership of the data, and be responsible for freeing it.
Return value
Type: gboolean
True if the group was removed, false otherwise.