diff console/gntui.c @ 13966:80cbf6c2d562

[gaim-migrate @ 16522] Enable the commands (prefixed with /) in conversations. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 19 Jul 2006 23:52:01 +0000
parents 841a5ffbfee4
children b7a99d54a5a9
line wrap: on
line diff
--- a/console/gntui.c	Wed Jul 19 20:14:58 2006 +0000
+++ b/console/gntui.c	Wed Jul 19 23:52:01 2006 +0000
@@ -8,8 +8,9 @@
 
 void init_gnt_ui()
 {
+#ifdef STANDALONE
 	gnt_init();
-
+#endif
 	/* Accounts */
 	gg_accounts_init();
 	gaim_accounts_set_ui_ops(gg_accounts_get_ui_ops());
@@ -30,6 +31,7 @@
 	gg_notify_init();
 	gaim_notify_set_ui_ops(gg_notify_get_ui_ops());
 
+#ifdef STANDALONE
 	gnt_main();
 
 	gaim_accounts_set_ui_ops(NULL);
@@ -48,5 +50,6 @@
 	gg_notify_uninit();
 
 	gnt_quit();
+#endif
 }