After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 581630 - Please consider using g_timeout_add_seconds to reduce wakeups
Please consider using g_timeout_add_seconds to reduce wakeups
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: general
2.27.x
Other Linux
: Normal trivial
: ---
Assigned To: gnome media maintainers
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-06 18:35 UTC by Javier Jardón (IRC: jjardon)
Modified: 2009-06-15 17:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
use g_timeout_add_seconds to reduce wakeups (2.13 KB, patch)
2009-05-06 18:37 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review

Description Javier Jardón (IRC: jjardon) 2009-05-06 18:35:31 UTC
From http://live.gnome.org/GnomeGoals/UseTimeoutAddSeconds, (and of course according to the gtk docs) using g_timeout_add_seconds is preferred over g_timeout_add if a timeout in seconds is desired.
Comment 1 Javier Jardón (IRC: jjardon) 2009-05-06 18:37:03 UTC
Created attachment 134123 [details] [review]
use g_timeout_add_seconds to reduce wakeups
Comment 2 Marc-Andre Lureau 2009-06-15 17:50:21 UTC
thanks for your patch!

applied