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/libtoc libtoc.c,1.1.1.1,1.2


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

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

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

Index: libtoc.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/icq-toc/libtoc/libtoc.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- libtoc.c    23 Dec 2002 22:05:11 -0000      1.1.1.1
+++ libtoc.c    16 Jan 2003 09:51:03 -0000      1.2
@@ -402,8 +402,7 @@
 }
        
 
-static void toc_get_file_data( gpointer data, gint source, 
-                                                          GdkInputCondition 
condition )
+static void toc_get_file_data(void *data, int source, eb_input_condition cond)
 {
 
        char val[1025];
@@ -444,7 +443,7 @@
                fprintf(stderr, "sending final packet\n");
                send( conn->fd, conn->header1, 6, 0 );
                send( conn->fd, conn->header2, header_size - 6, 0 );
-               gdk_input_remove(conn->handle);
+               eb_input_remove(conn->handle);
                close(conn->fd);
                g_free(conn);
                toc_complete_file_recieve(conn->progress);
@@ -558,7 +557,7 @@
 
                conn->progress = toc_begin_file_recieve( filename,  
ntohl(*((long*)(buff+22))) );
 
-               conn->handle = gdk_input_add(fd, GDK_INPUT_READ, 
toc_get_file_data, conn);
+               conn->handle = eb_input_add(fd, EB_INPUT_READ, 
toc_get_file_data, conn);
 
 }
 
@@ -1441,7 +1440,7 @@
        toc_send_im(conn, user, buff );
 }
 
-void toc_callback_handler(gpointer data, gint source, GdkInputCondition 
condition )
+void toc_callback_handler(void *data, int source, eb_input_condition cond )
 {
        toc_callback(data);
 }
@@ -1454,7 +1453,7 @@
        proxy_set_proxy( PROXY_NONE, "", 0 );
        conn = toc_signon("", "");
        toc_im_in = toc_test_im_in;
-       gdk_input_add(conn->fd, GDK_INPUT_READ, toc_callback_handler, conn);
+       eb_input_add(conn->fd, EB_INPUT_READ, toc_callback_handler, conn);
 
        gtk_main();
 }





reply via email to

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