diff console/gntui.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 81650a27f253
children 704d40050800
line wrap: on
line diff
--- a/console/gntui.c	Sun Oct 29 01:32:04 2006 +0000
+++ b/console/gntui.c	Sun Oct 29 03:43:15 2006 +0000
@@ -36,7 +36,7 @@
 
 #include <prefs.h>
 
-void init_gnt_ui()
+void gnt_ui_init()
 {
 #ifdef STANDALONE
 	gnt_init();
@@ -77,9 +77,10 @@
 #ifdef STANDALONE
 
 	gg_plugins_save_loaded();
+}
 
-	gnt_main();
-
+void gnt_ui_uninit()
+{
 	gaim_accounts_set_ui_ops(NULL);
 	gg_accounts_uninit();