Bump glib requirement to 2.13, for the ~second-accurate timers.
2007-06-05 Ross Burton <ross@openedhand.com> * configure.in: Bump glib requirement to 2.13, for the ~second-accurate timers. 2007-06-05 Ross Burton <ross@openedhand.com> * drw-monitor.c: * drw-break-window.c: * drwright.c: Use the second-accurate timers instead of the millisecond timers, in an attempt to use less processor time (#443547). svn path=/trunk/; revision=7692
This commit is contained in:
parent
759c98a608
commit
9fac3c0c5a
6 changed files with 20 additions and 8 deletions
|
@ -823,13 +823,12 @@ drwright_new (void)
|
|||
|
||||
init_tray_icon (dr);
|
||||
|
||||
g_timeout_add (10*1000,
|
||||
g_timeout_add_seconds (12,
|
||||
(GSourceFunc) update_tooltip,
|
||||
dr);
|
||||
g_timeout_add (500,
|
||||
g_timeout_add_seconds (1,
|
||||
(GSourceFunc) maybe_change_state,
|
||||
dr);
|
||||
|
||||
return dr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue