diff console/gntgaim.c @ 14847:d478f3853671

[gaim-migrate @ 17616] Fix bug #1582629. The terminal should now always go back to normal state after quitting from gaim-text. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 29 Oct 2006 03:43:15 +0000
parents 54ce6f592b01
children 78cab68de463
line wrap: on
line diff
--- a/console/gntgaim.c	Sun Oct 29 01:32:04 2006 +0000
+++ b/console/gntgaim.c	Sun Oct 29 03:43:15 2006 +0000
@@ -57,8 +57,8 @@
 {
 	gg_prefs_init,
 	debug_init,
-	NULL, /*gaim_gtk_ui_init,*/
-	NULL, /*gaim_gtk_quit*/
+	gnt_ui_init,
+	gnt_ui_uninit
 };
 
 static GaimCoreUiOps *
@@ -332,8 +332,9 @@
 	if (!init_libgaim(argc, argv))
 		return 0;
 
-	/* Initialize and run the UI */
-	init_gnt_ui();
+	gaim_blist_show();
+	gnt_main();
+
 #ifdef STANDALONE
 	gaim_core_quit();
 #endif