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 564052 - Use timeout_add_seconds instead of timeout_add
Use timeout_add_seconds instead of timeout_add
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2008-12-10 23:45 UTC by A. Walton
Modified: 2009-01-22 00:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use timeout_add_seconds (1.50 KB, patch)
2008-12-10 23:46 UTC, A. Walton
committed Details | Review

Description A. Walton 2008-12-10 23:45:04 UTC
Patch to follow
Comment 1 A. Walton 2008-12-10 23:46:04 UTC
Created attachment 124393 [details] [review]
use timeout_add_seconds

There are a couple of more cases of timeouts but they're sub second resolution. Safe to round up a couple of them to a full second?
Comment 2 Matthias Clasen 2009-01-10 03:42:59 UTC
Looks fine to me.
Comment 3 A. Walton 2009-01-22 00:58:25 UTC
2009-01-21  A. Walton  <awalton@gnome.org>

	* daemon/gvfsdaemon.c (daemon_schedule_exit):
	* daemon/gvfsjobcreatemonitor.c (create_reply):
	Use g_timeout_add_seconds() instead of g_timeout_add() to save
	some power.