view console/libgnt/gntstyle.c @ 14008:d9fab56e6011

[gaim-migrate @ 16594] Enhancement patch from wabz (Richard Nelson) to show the title of the conversation, and to show the alias of the buddy in the conversation if set. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 29 Jul 2006 09:39:43 +0000
parents 06f75fb84a78
children 7573bd40a190
line wrap: on
line source

#include "gntstyle.h"
#include "gntcolors.h"

void gnt_style_read_configure_file(const char *filename)
{
#if GLIB_CHECK_VERSION(2,6,0)
	GKeyFile *kfile = g_key_file_new();
	GError *error = NULL;

	if (!g_key_file_load_from_file(kfile, filename, G_KEY_FILE_NONE, &error))
	{
		/* XXX: Print the error or something */
		g_error_free(error);
		return;
	}
	gnt_colors_parse(kfile);

	g_key_file_free(kfile);
#endif
}