Changeset ba9edaa for protocols/nogaim.c
- Timestamp:
- 2006-05-10T17:34:46Z (18 years ago)
- Branches:
- master
- Children:
- 13cc96c
- Parents:
- 67b6766
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r67b6766 rba9edaa 328 328 } 329 329 330 static gboolean send_keepalive( gpointer d )330 static gboolean send_keepalive( gpointer d, gint fd, b_input_condition cond ) 331 331 { 332 332 struct gaim_connection *gc = d; … … 352 352 serv_got_crap( gc, "Logged in" ); 353 353 354 gc->keepalive = g_timeout_add( 60000, send_keepalive, gc );354 gc->keepalive = b_timeout_add( 60000, send_keepalive, gc ); 355 355 gc->flags |= OPT_LOGGED_IN; 356 356 … … 360 360 } 361 361 362 gboolean auto_reconnect( gpointer data )362 gboolean auto_reconnect( gpointer data, gint fd, b_input_condition cond ) 363 363 { 364 364 account_t *a = data; … … 372 372 void cancel_auto_reconnect( account_t *a ) 373 373 { 374 while( g_source_remove_by_user_data( (gpointer) a ) );374 while( b_event_remove_by_data( (gpointer) a ) ); 375 375 a->reconnect = 0; 376 376 } … … 384 384 serv_got_crap( gc, "Signing off.." ); 385 385 386 gaim_input_remove( gc->keepalive );386 b_event_remove( gc->keepalive ); 387 387 gc->keepalive = 0; 388 388 gc->prpl->close( gc ); 389 gaim_input_remove( gc->inpa );389 b_event_remove( gc->inpa ); 390 390 391 391 while( u ) … … 417 417 418 418 a->reconnect = 1; 419 g_timeout_add( delay * 1000, auto_reconnect, a );419 b_timeout_add( delay * 1000, auto_reconnect, a ); 420 420 } 421 421
Note: See TracChangeset
for help on using the changeset viewer.