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 581094 - Please consider using g_timeout_add_seconds to reduce wakeups
Please consider using g_timeout_add_seconds to reduce wakeups
Status: RESOLVED FIXED
Product: xchat-gnome
Classification: Other
Component: general
HEAD
Other Linux
: Normal trivial
: ---
Assigned To: xchat-gnome maintainers
xchat-gnome maintainers
: 581097 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-05-02 12:56 UTC by Javier Jardón (IRC: jjardon)
Modified: 2009-05-03 18:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use g_timeout_add_seconds instead g_timeout_add (1014 bytes, patch)
2009-05-02 13:01 UTC, Javier Jardón (IRC: jjardon)
committed Details | Review

Description Javier Jardón (IRC: jjardon) 2009-05-02 12:56:14 UTC
From https://wiki.ubuntu.com/SavingTheWorld, (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-02 13:01:51 UTC
Created attachment 133802 [details] [review]
Use g_timeout_add_seconds instead g_timeout_add
Comment 2 Christian Persch 2009-05-02 13:15:08 UTC
Thanks! Please commit to master.
Comment 3 Christian Persch 2009-05-02 14:06:15 UTC
*** Bug 581097 has been marked as a duplicate of this bug. ***
Comment 4 Nickolay V. Shmyrev 2009-05-03 18:12:20 UTC
Committed, thanks a lot to Javier