patch to use g_timeout_add_seconds()
sven at gimp.org
Wed Feb 6 12:07:32 PST 2008
as you probably know already, glib 2.14 introduced variants of the
g_timeout_add() functions that operate at whole second granularity. This
allows timers to be grouped, which results in a more power and CPU
Attached is a patch that adds a configure check for GLib 2.14 and
changes some code (notably in the Linux specific parts) to use the new
functions when possible. You will also find the patch online at
Please consider to include this. Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7784 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20080206/be24cea8/attachment.bin
More information about the hal