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 581099 - Use g_timeout_add_seconds where possible
Use g_timeout_add_seconds where possible
Status: RESOLVED FIXED
Product: system-monitor
Classification: Core
Component: general
git master
Other Linux
: Normal minor
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2009-05-02 14:03 UTC by Debarshi Ray
Modified: 2011-11-11 10:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix. (1.29 KB, patch)
2009-05-02 15:40 UTC, Debarshi Ray
committed Details | Review

Description Debarshi Ray 2009-05-02 14:03:12 UTC
Prompted by https://wiki.ubuntu.com/SavingTheWorld, we should use g_timeout_add_seconds over g_timeout_add where possible. Patch coming up.
Comment 1 Debarshi Ray 2009-05-02 15:40:14 UTC
Created attachment 133810 [details] [review]
Proposed fix.

If we enforce that the update intervals are in seconds and not multiples of quarter seconds, then we can remove almost all uses g_timeout_add. What do you think?
Comment 2 Benoît Dejean 2009-05-03 14:03:32 UTC
Done thanks.

This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.