Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
14282:b8ca9c680d1a | 14283:22ad3b783bbe |
---|---|
756 | 756 |
757 channel = g_io_channel_unix_new(STDIN_FILENO); | 757 channel = g_io_channel_unix_new(STDIN_FILENO); |
758 | 758 |
759 g_io_channel_set_encoding(channel, NULL, NULL); | 759 g_io_channel_set_encoding(channel, NULL, NULL); |
760 g_io_channel_set_buffered(channel, FALSE); | 760 g_io_channel_set_buffered(channel, FALSE); |
761 #if 0 | |
761 g_io_channel_set_flags(channel, G_IO_FLAG_NONBLOCK, NULL ); | 762 g_io_channel_set_flags(channel, G_IO_FLAG_NONBLOCK, NULL ); |
763 #endif | |
762 | 764 |
763 result = g_io_add_watch_full(channel, G_PRIORITY_HIGH, | 765 result = g_io_add_watch_full(channel, G_PRIORITY_HIGH, |
764 (G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_PRI | G_IO_NVAL), | 766 (G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_PRI | G_IO_NVAL), |
765 io_invoke, NULL, NULL); | 767 io_invoke, NULL, NULL); |
766 | 768 |