[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.14,1.15
From: |
Philip S Tellis <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.14,1.15 |
Date: |
Thu, 16 Jan 2003 04:51:06 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/yahoo2
In directory subversions:/tmp/cvs-serv15316/modules/yahoo2
Modified Files:
yahoo.c
Log Message:
changed code almost everywhere. removed gtk dependencies in some places,
changed gdk_input_* to eb_input_*, etc... see the ChangeLog.
Index: yahoo.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/yahoo2/yahoo.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- yahoo.c 16 Jan 2003 04:54:22 -0000 1.14
+++ yahoo.c 16 Jan 2003 09:51:03 -0000 1.15
@@ -725,7 +725,6 @@
eb_local_account *receiver = NULL;
char buff[2048];
- int i=0,j=0;
char *umsg = msg;
if(utf8)
umsg = y_utf8_to_str(msg);
@@ -1029,7 +1028,7 @@
if(!strcmp(handle, who)) {
ycrd->members = y_list_remove_link(ycrd->members, l);
FREE(handle);
- FREE(l);
+ FREE((YList *)l);
break;
}
}
@@ -1430,14 +1429,14 @@
/* if there's already a typing stop notify in the queue,
* cancel it and set a new one */
if(yad->typing_timeout_tag)
- gtk_timeout_remove(yad->typing_timeout_tag);
+ eb_timeout_remove(yad->typing_timeout_tag);
tcd->id = ylad->id;
tcd->to_handle = g_strdup(to->handle);
/* now, set a timeout to send typing stop notify */
- yad->typing_timeout_tag = gtk_timeout_add(5*1000,
+ yad->typing_timeout_tag = eb_timeout_add(5*1000,
(void *) eb_yahoo_send_typing_stop, tcd);
return 20;
}
@@ -1446,8 +1445,8 @@
{
eb_yahoo_chat_room_data *ycrd = chatroom->protocol_local_chat_room_data;
eb_local_account *ela = yahoo_find_local_account_by_id(ycrd->id);
- eb_yahoo_local_account_data * ylad = ela->protocol_local_account_data;
GList *others;
+
for (others = chatroom->fellows; others && others->data;
others=others->next) {
eb_chat_room_buddy * ecrb = others->data;
eb_account *to = find_account_by_handle(ecrb->handle,
SERVICE_INFO.protocol_id);
@@ -1550,7 +1549,7 @@
return;
}
- ylad->ping_timeout_tag = gtk_timeout_add(600 * 1000,
+ ylad->ping_timeout_tag = eb_timeout_add(600 * 1000,
(void *) eb_yahoo_ping_timeout_callback, ylad);
ref_count++;
@@ -1604,7 +1603,7 @@
}
if(ylad->ping_timeout_tag) {
- gtk_timeout_remove(ylad->ping_timeout_tag);
+ eb_timeout_remove(ylad->ping_timeout_tag);
ylad->ping_timeout_tag=0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.14,1.15,
Philip S Tellis <address@hidden> <=