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 565076 - Use g_timeout_add_seconds where possible
Use g_timeout_add_seconds where possible
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
2.24.x
Other All
: Normal minor
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-12-19 08:45 UTC by Paul Kishimoto
Modified: 2008-12-19 09:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
A patch. (7.98 KB, patch)
2008-12-19 08:46 UTC, Paul Kishimoto
none Details | Review

Description Paul Kishimoto 2008-12-19 08:45:15 UTC
Please describe the problem:
Prompted by http://gould.cx/ted/blog/Saving_the_world_one__w_at_a_time / https://wiki.ubuntu.com/SavingTheWorld, a patch to use g_timeout_add_seconds over g_timeout_add where possible.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Paul Kishimoto 2008-12-19 08:46:39 UTC
Created attachment 124988 [details] [review]
A patch.

This is my first patch submission to GNOME, please let me know if the format is wrong.
Comment 2 Richard Hughes 2008-12-19 09:45:14 UTC
You want to be using svn trunk, as most of those changes have been done before. I've added part of your patch for the refcount object, so thanks.

2008-12-19  Richard Hughes  <richard@hughsie.com>

	* src/gpm-feedback-widget.c:
	* src/gpm-refcount.c: (gpm_refcount_add),
	(gpm_refcount_set_timeout):
	Convert the one last g_timeout_add into g_timeout_add_seconds.
	Fixes #565076