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 581256 - 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-panel
Classification: Other
Component: general
git master
Other Linux
: Normal trivial
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-04 05:14 UTC by Javier Jardón (IRC: jjardon)
Modified: 2009-08-11 20:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use g_timeout_add_seconds instead g_timeout_add (1.50 KB, patch)
2009-05-04 05:21 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review

Description Javier Jardón (IRC: jjardon) 2009-05-04 05:14:12 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-04 05:21:08 UTC
Created attachment 133900 [details] [review]
Use g_timeout_add_seconds instead g_timeout_add

g_timeout_add is used in gnome-panel/nothing.cP file. Is this important?
Comment 2 Vincent Untz 2009-08-11 20:27:58 UTC
Thanks!