[gtk+/wip/csoriano/gtkpathbar_rework: 190/200] gtkpathbar: rename timeout for clarity



commit e383d6ea2d841c69efbdc2aba64a4f8edd7d7282
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Mar 3 14:38:50 2015 +0100

    gtkpathbar: rename timeout for clarity

 gtk/gtkpathbar.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index e4a9998..581db90 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -74,8 +74,8 @@ typedef enum {
 #define BUTTON_DATA(x) ((ButtonData *)(x))
 
 #define SCROLL_DELAY_FACTOR 5
-#define TIMEOUT_INITIAL     500
-#define TIMEOUT_REPEAT      50
+#define INITIAL_SCROLL_TIMEOUT 500
+#define SCROLL_TIMEOUT         50
 
 static guint path_bar_signals [LAST_SIGNAL] = { 0 };
 
@@ -1164,7 +1164,7 @@ gtk_path_bar_slider_button_press (GtkWidget      *widget,
   if (!path_bar->priv->timer)
     {
       path_bar->priv->need_timer = TRUE;
-      path_bar->priv->timer = gdk_threads_add_timeout (TIMEOUT_INITIAL,
+      path_bar->priv->timer = gdk_threads_add_timeout (INITIAL_SCROLL_TIMEOUT,
                                       (GSourceFunc)gtk_path_bar_scroll_timeout,
                                       path_bar);
       g_source_set_name_by_id (path_bar->priv->timer, "[gtk+] gtk_path_bar_scroll_timeout");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]