Mercurial > pidgin
changeset 14746:54ce6f592b01
[gaim-migrate @ 17503]
s/gtk/gnt/
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 17 Oct 2006 21:47:48 +0000 |
parents | 61416f315d1c |
children | 091b6ce6372e |
files | console/gntgaim.c |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/console/gntgaim.c Tue Oct 17 21:46:09 2006 +0000 +++ b/console/gntgaim.c Tue Oct 17 21:47:48 2006 +0000 @@ -79,12 +79,12 @@ } GaimGtkIOClosure; -static void gaim_gtk_io_destroy(gpointer data) +static void gaim_gnt_io_destroy(gpointer data) { g_free(data); } -static gboolean gaim_gtk_io_invoke(GIOChannel *source, GIOCondition condition, gpointer data) +static gboolean gaim_gnt_io_invoke(GIOChannel *source, GIOCondition condition, gpointer data) { GaimGtkIOClosure *closure = data; GaimInputCondition gaim_cond = 0; @@ -103,7 +103,7 @@ #ifdef _WIN32 if(! gaim_cond) { #if DEBUG - gaim_debug(GAIM_DEBUG_MISC, "gtk_eventloop", + gaim_debug_misc("gnt_eventloop", "CLOSURE received GIOCondition of 0x%x, which does not" " match 0x%x (READ) or 0x%x (WRITE)\n", condition, GAIM_GTK_READ_COND, GAIM_GTK_WRITE_COND); @@ -136,7 +136,7 @@ channel = g_io_channel_unix_new(fd); closure->result = g_io_add_watch_full(channel, G_PRIORITY_DEFAULT, cond, - gaim_gtk_io_invoke, closure, gaim_gtk_io_destroy); + gaim_gnt_io_invoke, closure, gaim_gnt_io_destroy); g_io_channel_unref(channel); return closure->result; @@ -326,6 +326,8 @@ /* XXX: Don't puke */ freopen(".error", "w", stderr); + signal(SIGPIPE, SIG_IGN); + /* Initialize the libgaim stuff */ if (!init_libgaim(argc, argv)) return 0;