Changeset 7464 for trunk/gtk/msgwin.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/msgwin.c

    r7404 r7464  
    544544    gtk_container_add( GTK_CONTAINER( win ), vbox );
    545545
    546     data->refresh_tag = g_timeout_add( 1666, onRefresh, data );
     546    data->refresh_tag = gtr_timeout_add_seconds( 2, onRefresh, data );
    547547    g_object_weak_ref( G_OBJECT( win ), onWindowDestroyed, data );
    548548
Note: See TracChangeset for help on using the changeset viewer.