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/tr-core.c

    r7395 r7463  
    500500                g_slist_append( p->monitor_files, g_strdup( filename ) );
    501501        if( !p->monitor_idle_tag )
    502             p->monitor_idle_tag = g_timeout_add( 1000, watchFolderIdle,
    503                                                  core );
     502            p->monitor_idle_tag = gtr_timeout_add_seconds( 1, watchFolderIdle, core );
    504503    }
    505504}
Note: See TracChangeset for help on using the changeset viewer.