GNOME Bugzilla – Bug 670131
Incorrect active time report
Last modified: 2012-02-15 13:05:06 UTC
Created attachment 207620 [details] [review] fix The "gnome-screensaver-command -t" command seems to always report the same incorrect time of 1099853556 seconds. After a little digging, it seems that gnome-screensaver-command tries to retrieve an integer instead of a unsigned integer. changed "(i)" to "(u)" in g_variant_get seems to fix the problem. I've attached the patch. Tested on Linux Ubuntu Oneiric with version 3.2.0. The patch was generated from the git repository.
Review of attachment 207620 [details] [review]: Looks right, thanks
The following fix has been pushed: ecfa197 dbus command GetActiveTime returns an unsigned int
Created attachment 207645 [details] [review] dbus command GetActiveTime returns an unsigned int fix a bug in gnome-screensaver-command (always retuned "active for 1099853556 seconds")