diff console/libgnt/gntmain.c @ 14283:22ad3b783bbe

[gaim-migrate @ 16969] I made this change because Evan was getting a crash because of this. But as a side effect, it fixes the scrambleness!! This is pretty sweet! committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 22 Aug 2006 03:01:52 +0000
parents 2f82c2494f3f
children c111a7e718d0
line wrap: on
line diff
--- a/console/libgnt/gntmain.c	Tue Aug 22 01:55:56 2006 +0000
+++ b/console/libgnt/gntmain.c	Tue Aug 22 03:01:52 2006 +0000
@@ -758,7 +758,9 @@
 
 	g_io_channel_set_encoding(channel, NULL, NULL);
 	g_io_channel_set_buffered(channel, FALSE);
+#if 0
 	g_io_channel_set_flags(channel, G_IO_FLAG_NONBLOCK, NULL );
+#endif
 
 	result = g_io_add_watch_full(channel,  G_PRIORITY_HIGH,
 					(G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_PRI | G_IO_NVAL),