luna-prefs-service/main.c
/**
 * Start/Restart no activity quit timer
 *
 * - Should be called as fist command in methods callback functions for restart timer.
 * - Should be called immediately before g_main_loop_run to start timer for luna bus
 *   internal default category /com/palm/luna/private.
 */
Start/Restart no activity quit timer
- Should be called as fist command in methods callback functions for restart timer.
- Should be called immediately before g_main_loop_run to start timer for luna bus
internal default category /com/palm/luna/private.
Start / Restart no activity quit timer - Should be called as fist command in methods callback functions for restart timer . - Should be called immediately before g_main_loop_run to start timer for luna bus internal default category / com / palm / luna / private .
static void
reset_timer( void )
{
    g_debug( "%s()", __func__ );
    static GSource* s_source = NULL;
    if ( NULL != s_source ) {
        g_source_destroy( s_source );
    }
    s_source = g_timeout_source_new_seconds( EXIT_TIMER_SECONDS );
    g_source_set_callback( s_source, sourceFunc, NULL, NULL );
    (void)g_source_attach( s_source, NULL );
}
static void reset_timer ( void ) { g_debug ( " " , __func__ ) ; static GSource * s_source = NULL ; if ( NULL != s_source ) { g_source_destroy ( s_source ) ; } s_source = g_timeout_source_new_seconds ( EXIT_TIMER_SECONDS ) ; g_source_set_callback ( s_source , sourceFunc , NULL , NULL ) ; ( void ) g_source_attach ( s_source , NULL ) ; }
Start/Restart no activity quit timer
 - Should be called as fist command in methods callback functions for restart timer.
Start / Restart no activity quit timer - Should be called as fist command in methods callback functions for restart timer .