[gtk+/wip/csoriano/gtkpathbar_rework: 1/7] gtkpathbar: rename timeout for clarity
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/csoriano/gtkpathbar_rework: 1/7] gtkpathbar: rename timeout for clarity
- Date: Tue, 3 Mar 2015 16:45:59 +0000 (UTC)
commit e1ace507c6e36731e026419cc1a9c4e576a58e3c
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]