Changeset ba9edaa for protocols/yahoo
- Timestamp:
- 2006-05-10T17:34:46Z (19 years ago)
- Branches:
- master
- Children:
- 13cc96c
- Parents:
- 67b6766
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo.c
r67b6766 rba9edaa 443 443 }; 444 444 445 void byahoo_connect_callback( gpointer data, gint source, GaimInputCondition cond )445 void byahoo_connect_callback( gpointer data, gint source, b_input_condition cond ) 446 446 { 447 447 struct byahoo_connect_callback_data *d = data; … … 465 465 }; 466 466 467 void byahoo_read_ready_callback( gpointer data, gint source, GaimInputCondition cond )467 gboolean byahoo_read_ready_callback( gpointer data, gint source, b_input_condition cond ) 468 468 { 469 469 struct byahoo_read_ready_data *d = data; … … 473 473 /* WTF doesn't libyahoo clean this up? */ 474 474 ext_yahoo_remove_handler( d->id, d->tag ); 475 return ;475 return FALSE; 476 476 } 477 477 … … 487 487 }; 488 488 489 void byahoo_write_ready_callback( gpointer data, gint source, GaimInputCondition cond )489 gboolean byahoo_write_ready_callback( gpointer data, gint source, b_input_condition cond ) 490 490 { 491 491 struct byahoo_write_ready_data *d = data; … … 495 495 /* WTF doesn't libyahoo clean this up? */ 496 496 ext_yahoo_remove_handler( d->id, d->tag ); 497 return ;497 return FALSE; 498 498 } 499 499 … … 686 686 687 687 inp->d = d; 688 d->tag = inp->h = gaim_input_add( fd, GAIM_INPUT_READ, (GaimInputFunction) byahoo_read_ready_callback, (gpointer) d );688 d->tag = inp->h = b_input_add( fd, GAIM_INPUT_READ, (b_event_handler) byahoo_read_ready_callback, (gpointer) d ); 689 689 } 690 690 else if( cond == YAHOO_INPUT_WRITE ) … … 697 697 698 698 inp->d = d; 699 d->tag = inp->h = gaim_input_add( fd, GAIM_INPUT_WRITE, (GaimInputFunction) byahoo_write_ready_callback, (gpointer) d );699 d->tag = inp->h = b_input_add( fd, GAIM_INPUT_WRITE, (b_event_handler) byahoo_write_ready_callback, (gpointer) d ); 700 700 } 701 701 else … … 728 728 } 729 729 730 gaim_input_remove( tag );730 b_event_remove( tag ); 731 731 } 732 732 … … 737 737 738 738 d = g_new0( struct byahoo_connect_callback_data, 1 ); 739 if( ( fd = proxy_connect( host, port, ( GaimInputFunction) byahoo_connect_callback, (gpointer) d ) ) < 0 )739 if( ( fd = proxy_connect( host, port, (b_event_handler) byahoo_connect_callback, (gpointer) d ) ) < 0 ) 740 740 { 741 741 g_free( d );
Note: See TracChangeset
for help on using the changeset viewer.