Ignore:
Timestamp:
Dec 22, 2008, 5:39:02 AM (12 years ago)
Author:
charles
Message:

(1.4x gtk) #1585: use g_timeout_add_seconds() where appropriate to group timers together for fewer scheduled wakeups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4x/gtk/main.c

    r7395 r7463  
    653653    /* start scheduled rate timer */
    654654    updateScheduledLimits ( tr_core_session( cbdata->core ) );
    655     g_timeout_add( 60 * 1000, updateScheduledLimits,
    656                   tr_core_session( cbdata->core ) );
     655    gtr_timeout_add_seconds( 60, updateScheduledLimits, tr_core_session( cbdata->core ) );
    657656
    658657    /* either show the window or iconify it */
Note: See TracChangeset for help on using the changeset viewer.