~vcs-imports/gnome-screensaver/git-trunk

  • Committer: Ray Strode
  • Author(s): B.Prathibha
  • Date: 2012-11-30 19:47:50 UTC
  • Revision ID: git-v1:2a39bfb8da38223b02307687083dfec6e531a3da
Reduce the number of wakeups

gnome-screensaver uses g_timeout_add with an integral number
of seconds as a timeout duration in various parts of the code.

These bits of code will work just as well using g_timeout_add_seconds
instead.

g_timeout_add_seconds has the advantage that it consolidates all wake
ups that happen near each other to happen at the same time, there by
creating less wake ups overall (which improves power savings)

This commit changes the applicable g_timeout_add calls to
g_timeout_add_seconds calls.

https://bugzilla.gnome.org/show_bug.cgi?id=689032
Filename Latest Rev Last Changed Committer Comment Size
..
data 1 19 years ago William Jon McCann Initial revision Diff
doc 243 19 years ago William Jon McCann Add some docs. 2005-09-26 William Jon McCann <m Diff
po 1 19 years ago William Jon McCann Initial revision Diff
src 1 19 years ago William Jon McCann Initial revision Diff
AUTHORS 355 19 years ago William Jon McCann Not much left of that... 2005-11-15 William Jon 36 bytes Diff Download File
File autogen.sh 1485 15 years ago William Jon McCann Update for release 2009-03-18 William Jon McCann 602 bytes Diff Download File
ChangeLog 1833 13 years ago William Jon McCann Update some meta info Empty Diff Download File
configure.ac 2032 12 years ago Matthias Clasen Post-release version bump 25.3 KB Diff Download File
COPYING 2025 12 years ago Ray Strode Trivial: update FSF address Fixes bug 682241 17.5 KB Diff Download File
COPYING.LIB 2025 12 years ago Ray Strode Trivial: update FSF address Fixes bug 682241 24.7 KB Diff Download File
git.mk 1838 13 years ago Saleem Abdulrasool build: convert to git.mk 5.6 KB Diff Download File
gnome-screensaver.doap 1640 14 years ago Olav Vitters Fix doap file 1 KB Diff Download File
HACKING 1 19 years ago William Jon McCann Initial revision Empty Diff Download File
MAINTAINERS 1833 13 years ago William Jon McCann Update some meta info 71 bytes Diff Download File
Makefile.am 1942 13 years ago Ray Strode Makefile: drop TODO file 791 bytes Diff Download File
NEWS 2031 12 years ago Matthias Clasen 3.6.0 45 KB Diff Download File
README 152 19 years ago William Jon McCann Remove experimental warning. 2005-07-19 William 1.3 KB Diff Download File