view console/gntui.c @ 13891:da1046158b3b

[gaim-migrate @ 16374] Add some autotool thingies. These work for me, I can almost swear. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 29 Jun 2006 18:16:07 +0000
parents 7d3256b253ec
children cc60d0861337
line wrap: on
line source

#include "gntui.h"
#include "gntblist.h"
#include "gntconv.h"

void init_gnt_ui()
{
	gnt_init();

	wbkgdset(stdscr, '\0' | COLOR_PAIR(GNT_COLOR_NORMAL));
	werase(stdscr);
	wrefresh(stdscr);

	/* Initialize the buddy list */
	gg_blist_init();
	gaim_blist_set_ui_ops(gg_blist_get_ui_ops());

	/* Now the conversations */
	gg_conversation_init();
	gaim_conversations_set_ui_ops(gg_conv_get_ui_ops());

	gnt_main();
}