Mercurial > pidgin.yaz
diff console/libgnt/gntmain.c @ 13983:b7a99d54a5a9
[gaim-migrate @ 16552]
Add a debug window. The scrolling doesn't seem to work properly. I
will try to figure out what's wrong with it.
Start the request-ui. The ui for request input, choice and action are
mostly done. I am not handling multiline input requests yet. It's not
too high in my todo-list either.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 23 Jul 2006 20:38:07 +0000 |
parents | 0a0d2a1fd2bc |
children | 06f75fb84a78 |
line wrap: on
line diff
--- a/console/libgnt/gntmain.c Sun Jul 23 18:58:59 2006 +0000 +++ b/console/libgnt/gntmain.c Sun Jul 23 20:38:07 2006 +0000 @@ -524,7 +524,12 @@ void gnt_init() { - GIOChannel *channel = g_io_channel_unix_new(0); + static GIOChannel *channel = NULL; + + if (channel) + return; + + channel = g_io_channel_unix_new(0); g_io_channel_set_encoding(channel, NULL, NULL); g_io_channel_set_buffered(channel, FALSE);