[Xfce4-commits] <xfce4-weather-plugin:master> Replace hardcoded value with LABEL_SPEED.

Harald Judt noreply at xfce.org
Tue Jul 3 00:06:03 CEST 2012


Updating branch refs/heads/master
         to e278dfc3006b3f4bbba8c4d2c04a3269b358040d (commit)
       from 5084944cbe03e7d8ef531b95d4e848759372b7d8 (commit)

commit e278dfc3006b3f4bbba8c4d2c04a3269b358040d
Author: Harald Judt <h.judt at gmx.at>
Date:   Tue Jul 3 00:02:38 2012 +0200

    Replace hardcoded value with LABEL_SPEED.
    
    Fix another hardcoded value missed during migration.

 panel-plugin/weather-scrollbox.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/panel-plugin/weather-scrollbox.c b/panel-plugin/weather-scrollbox.c
index 38ac0c3..01545e6 100644
--- a/panel-plugin/weather-scrollbox.c
+++ b/panel-plugin/weather-scrollbox.c
@@ -250,7 +250,8 @@ gtk_scrollbox_start_fade (GtkScrollbox *self)
     else
       self->offset = 0;
 
-      self->timeout_id = g_timeout_add (25, gtk_scrollbox_fade_in,
+      self->timeout_id = g_timeout_add (LABEL_SPEED,
+                                        gtk_scrollbox_fade_in,
                                         self);
     }
   else


More information about the Xfce4-commits mailing list