diff src/protocols/gg/gg.c @ 5605:4fa8ca4f4259

[gaim-migrate @ 6009] i'm a search-and-replace machine! committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 31 May 2003 15:40:32 +0000
parents ea09a005a10d
children 83991299705c
line wrap: on
line diff
--- a/src/protocols/gg/gg.c	Sat May 31 15:14:38 2003 +0000
+++ b/src/protocols/gg/gg.c	Sat May 31 15:40:32 2003 +0000
@@ -1,6 +1,6 @@
 /*
  * gaim - Gadu-Gadu Protocol Plugin
- * $Id: gg.c 6007 2003-05-31 15:06:17Z faceprint $
+ * $Id: gg.c 6009 2003-05-31 15:40:32Z faceprint $
  *
  * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL>
  * 
@@ -85,9 +85,6 @@
 
 #define UC_NORMAL 2
 
-/* for win32 compatability */
-G_MODULE_IMPORT GSList *connections;
-
 struct agg_data {
 	struct gg_session *sess;
 	int own_status;
@@ -409,7 +406,7 @@
 	struct gg_event *e;
 
 	debug_printf("GG login_callback...\n");
-	if (!g_slist_find(connections, gc)) {
+	if (!g_list_find(gaim_connections_get_all(), gc)) {
 		close(source);
 		return;
 	}
@@ -869,7 +866,7 @@
 
 	debug_printf("http_results: begin\n");
 
-	if (!g_slist_find(connections, gc)) {
+	if (!g_list_find(gaim_connections_get_all(), gc)) {
 		debug_printf("search_callback: g_slist_find error\n");
 		gaim_input_remove(hdata->inpa);
 		g_free(hdata);
@@ -937,7 +934,7 @@
 
 	debug_printf("http_req_callback: begin\n");
 
-	if (!g_slist_find(connections, gc)) {
+	if (!g_list_find(gaim_connections_get_all(), gc)) {
 		debug_printf("http_req_callback: g_slist_find error\n");
 		g_free(request);
 		g_free(hdata);