#include <glib.h>

int main() {
	GKeyFile* k = g_key_file_new();

	g_key_file_set_string(k, "good", "key", "value");
	g_print("good[key]=%s\n", g_key_file_get_string(k, "good", "key", 0));
	
	g_key_file_remove_group(k, "good", 0);
	g_print("good[key]=%s\n", g_key_file_get_string(k, "good", "key", 0));

	g_key_file_remove_group(k, "good", 0);
	g_print("good[key]=%s\n", g_key_file_get_string(k, "good", "key", 0));

	g_key_file_free(k);
	return 0;
}
