Mercurial > pidgin
diff src/protocols/irc/irc.c @ 2090:b66aca8e8dce
[gaim-migrate @ 2100]
change ../config.h to <config.h> because that's better. change from GdkInput functions to GaimInput for reasons mentioned elsewhere.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 31 Jul 2001 23:23:40 +0000 |
parents | 424a40f12a6c |
children | a93aeb6f813d |
line wrap: on
line diff
--- a/src/protocols/irc/irc.c Tue Jul 31 18:02:40 2001 +0000 +++ b/src/protocols/irc/irc.c Tue Jul 31 23:23:40 2001 +0000 @@ -20,7 +20,7 @@ * */ -#include "../config.h" +#include <config.h> #include <netdb.h> @@ -568,7 +568,7 @@ -static void irc_callback(gpointer data, gint source, GdkInputCondition condition) +static void irc_callback(gpointer data, gint source, GaimInputCondition condition) { struct gaim_connection *gc = data; int i = 0; @@ -1835,10 +1835,10 @@ } if (gc->inpa) - gdk_input_remove(gc->inpa); + gaim_input_remove(gc->inpa); if (idata->inpa) - gdk_input_remove(idata->inpa); + gaim_input_remove(idata->inpa); close(idata->fd); g_free(gc->proto_data); @@ -1862,7 +1862,7 @@ g_free(buf); } -static void irc_login_callback(gpointer data, gint source, GdkInputCondition condition) +static void irc_login_callback(gpointer data, gint source, GaimInputCondition condition) { struct gaim_connection *gc = data; struct irc_data *idata; @@ -1893,7 +1893,7 @@ return; } - idata->inpa = gdk_input_add(idata->fd, GDK_INPUT_READ, irc_callback, gc); + idata->inpa = gaim_input_add(idata->fd, GAIM_INPUT_READ, irc_callback, gc); idata->inpa = 0; /* Now lets sign ourselves on */