diff src/protocols/yahoo/yay.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 56c4382f2909
line wrap: on
line diff
--- a/src/protocols/yahoo/yay.c	Tue Jul 31 18:02:40 2001 +0000
+++ b/src/protocols/yahoo/yay.c	Tue Jul 31 23:23:40 2001 +0000
@@ -332,7 +332,7 @@
 	return 1;
 }
 
-static void yahoo_pending(gpointer data, gint source, GdkInputCondition condition) {
+static void yahoo_pending(gpointer data, gint source, GaimInputCondition condition) {
 	struct gaim_connection *gc = (struct gaim_connection *)data;
 	struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data;
 
@@ -347,7 +347,7 @@
 		struct conn *c = g_new0(struct conn, 1);
 		c->socket = socket;
 		c->type = type;
-		c->inpa = gdk_input_add(socket, type, yahoo_pending, gc);
+		c->inpa = gaim_input_add(socket, type, yahoo_pending, gc);
 		yd->conns = g_list_append(yd->conns, c);
 	} else {
 		GList *c = yd->conns;
@@ -355,7 +355,7 @@
 			struct conn *m = c->data;
 			if ((m->socket == socket) && (m->type == type)) {
 				yd->conns = g_list_remove(yd->conns, m);
-				gdk_input_remove(m->inpa);
+				gaim_input_remove(m->inpa);
 				g_free(m);
 				return;
 			}
@@ -364,7 +364,7 @@
 	}
 }
 
-static void yahoo_got_connected(gpointer data, gint source, GdkInputCondition cond) {
+static void yahoo_got_connected(gpointer data, gint source, GaimInputCondition cond) {
 	struct connect *con = data;
 
 	debug_printf("got connected (possibly)\n");