Changes in unix.c [ba9edaa:58bc4e6]
Legend:
- Unmodified
- Added
- Removed
-
unix.c
rba9edaa r58bc4e6 47 47 memset( &global, 0, sizeof( global_t ) ); 48 48 49 b_main_init();49 global.loop = g_main_new( FALSE ); 50 50 51 51 log_init(); … … 117 117 log_message( LOGLVL_WARNING, "Error opening helpfile %s.", HELP_FILE ); 118 118 119 b_main_run();119 g_main_run( global.loop ); 120 120 121 121 if( global.restart ) … … 165 165 166 166 log_message( LOGLVL_ERROR, "SIGTERM received, cleaning up process." ); 167 b_timeout_add( 1, (b_event_handler) bitlbee_shutdown, NULL );167 g_timeout_add_full( G_PRIORITY_LOW, 1, (GSourceFunc) bitlbee_shutdown, NULL, NULL ); 168 168 169 169 first = 0;
Note: See TracChangeset
for help on using the changeset viewer.