Changeset 7464 for trunk/gtk/tr-core.c


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-core.c

    r7393 r7464  
    499499                g_slist_append( p->monitor_files, g_strdup( filename ) );
    500500        if( !p->monitor_idle_tag )
    501             p->monitor_idle_tag = g_timeout_add( 1000, watchFolderIdle,
    502                                                  core );
     501            p->monitor_idle_tag = gtr_timeout_add_seconds( 1, watchFolderIdle, core );
    503502    }
    504503}
Note: See TracChangeset for help on using the changeset viewer.