~ubuntu-branches/ubuntu/raring/gnome-screensaver/raring-proposed

« back to all changes in this revision

Viewing changes to .pc/03_fix_ltsp-fading.patch/src/gs-fade.c

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2012-03-27 10:57:33 UTC
  • mfrom: (1.3.10)
  • Revision ID: package-import@ubuntu.com-20120327105733-et7bncx0pt7zqido
Tags: 3.4.0-0ubuntu1
* New upstream release:
  - Fix fade when explicitly locking screen
  - Updated translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
726
726
        if (active_fade) {
727
727
                guint num_steps;
728
728
 
729
 
                num_steps = (fade->priv->timeout / 1000) * steps_per_sec;
 
729
                num_steps = (fade->priv->timeout / 1000.) * steps_per_sec;
730
730
                msecs_per_step = 1000 / steps_per_sec;
731
731
                fade->priv->alpha_per_iter = 1.0 / (gdouble)num_steps;
732
732