ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/modules/icq-toc icq-toc.c,1.4,1.5


From: Philip S Tellis <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/modules/icq-toc icq-toc.c,1.4,1.5
Date: Thu, 16 Jan 2003 04:51:05 -0500

Update of /cvsroot/ayttm/ayttm/modules/icq-toc
In directory subversions:/tmp/cvs-serv15316/modules/icq-toc

Modified Files:
        icq-toc.c 
Log Message:
changed code almost everywhere.  removed gtk dependencies in some places, 
changed gdk_input_* to eb_input_*, etc... see the ChangeLog.

Index: icq-toc.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/icq-toc/icq-toc.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- icq-toc.c   14 Jan 2003 22:17:24 -0000      1.4
+++ icq-toc.c   16 Jan 2003 09:51:03 -0000      1.5
@@ -262,14 +262,14 @@
 
 /*the callback to call all callbacks :P */
 
-void eb_icq_callback(gpointer data, gint source, GdkInputCondition condition )
+void eb_icq_callback(void *data, int source, eb_input_condition condition )
 {
        struct eb_icq_local_account_data * alad = data;
        toc_conn * conn = alad->conn;
        eb_debug(DBG_TOC, "eb_icq_callback %d %d\n", conn->fd, conn->seq_num);
        if(source < 0 )
        {
-               //gdk_input_remove(*((int*)data));
+               //eb_input_remove(*((int*)data));
                g_assert(0);
        }
        toc_callback(((struct eb_icq_local_account_data *)data)->conn);
@@ -748,9 +748,9 @@
        alad->conn->account = account;
        alad->status = ICQ_ONLINE;
        ref_count++;
-       alad->input = gdk_input_add(alad->conn->fd, GDK_INPUT_READ, 
eb_icq_callback, alad);
+       alad->input = eb_input_add(alad->conn->fd, EB_INPUT_READ, 
eb_icq_callback, alad);
                
-       alad->keep_alive = gtk_timeout_add((guint32)60000, eb_icq_keep_alive, 
(gpointer)alad );
+       alad->keep_alive = eb_timeout_add((guint32)60000, eb_icq_keep_alive, 
(gpointer)alad );
 
        is_setting_state = 1;
        
@@ -787,8 +787,8 @@
        struct eb_icq_local_account_data * alad;
        alad = (struct eb_icq_local_account_data 
*)account->protocol_local_account_data;
        eb_debug(DBG_TOC, "eb_icq_logout %d %d\n", alad->conn->fd, 
alad->conn->seq_num );
-       gdk_input_remove(alad->input);
-       gtk_timeout_remove(alad->keep_alive);
+       eb_input_remove(alad->input);
+       eb_timeout_remove(alad->keep_alive);
        if(alad->conn)
        {
                eb_icq_set_config(account);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]