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/stats.c

    r6998 r7463  
    170170    g_object_set_data_full( G_OBJECT( d ), "data", ui, g_free );
    171171    g_signal_connect( d, "response", G_CALLBACK( dialogResponse ), ui );
    172     i = g_timeout_add( 1000, updateStats, ui );
     172    i = gtr_timeout_add_seconds( 1, updateStats, ui );
    173173    g_object_weak_ref( G_OBJECT( d ), dialogDestroyed, GUINT_TO_POINTER( i ) );
    174174    return d;
Note: See TracChangeset for help on using the changeset viewer.