Changeset 5124


Ignore:
Timestamp:
Feb 26, 2008, 8:34:37 PM (14 years ago)
Author:
charles
Message:

(gtk) remove unused function "io_send"

Location:
trunk/gtk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-io.c

    r5123 r5124  
    174174
    175175unsigned int
    176 io_send(GSource *source, const void *data, size_t len) {
    177   char *new = g_new(char, len);
    178 
    179   memcpy(new, data, len);
    180 
    181   return io_send_keepdata(source, new, len);
    182 }
    183 
    184 unsigned int
    185176io_send_keepdata(GSource *source, void *data, size_t len) {
    186177  struct iosource *io = (struct iosource*)source;
  • trunk/gtk/tr-io.h

    r5113 r5124  
    4040
    4141unsigned int
    42 io_send(GSource *source, const void *data, size_t len);
    43 
    44 unsigned int
    4542io_send_keepdata(GSource *source, void *data, size_t len);
    4643
Note: See TracChangeset for help on using the changeset viewer.