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 581255 - Please consider using g_timeout_add_seconds to reduce wakeups
Please consider using g_timeout_add_seconds to reduce wakeups
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-04 05:00 UTC by Javier Jardón (IRC: jjardon)
Modified: 2010-03-20 18:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


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

Description Javier Jardón (IRC: jjardon) 2009-05-04 05:00:15 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:02:09 UTC
Created attachment 133898 [details] [review]
Use g_timeout_add_seconds instead g_timeout_add
Comment 2 Tristan Van Berkom 2010-03-20 18:58:28 UTC
Review of attachment 133898 [details] [review]:

Thanks, committed.