Method

GLibKeyFileremove_group

Declaration

gboolean
g_key_file_remove_group (
  GKeyFile* key_file,
  const gchar* group_name,
  GError** error
)

Description

Removes the specified group, group_name, from the key file.

Available since:2.6

Parameters

group_name const gchar*
 

A group name.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE if the group was removed, FALSE otherwise.