From 10de0a21f8abf9ad1719039addf347e03a6324dd Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 28 Oct 2010 14:28:54 +0200 Subject: [PATCH] rename timeout_id to auto_scroll_timeout_id --- libempathy-gtk/empathy-individual-view.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index 2f4c0d37..5f604058 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -83,7 +83,7 @@ typedef struct GHashTable *expand_groups; /* Auto scroll */ - guint timeout_id; + guint auto_scroll_timeout_id; /* Distance between mouse pointer and the nearby border. Negative when scrolling updards.*/ gint distance; @@ -606,10 +606,10 @@ individual_view_drag_motion (GtkWidget *widget, model = gtk_tree_view_get_model (GTK_TREE_VIEW (widget)); - if (priv->timeout_id != 0) + if (priv->auto_scroll_timeout_id != 0) { - g_source_remove (priv->timeout_id); - priv->timeout_id = 0; + g_source_remove (priv->auto_scroll_timeout_id); + priv->auto_scroll_timeout_id = 0; } gtk_widget_get_allocation (widget, &allocation); @@ -622,7 +622,7 @@ individual_view_drag_motion (GtkWidget *widget, else priv->distance = MAX (allocation.height - y, 1); - priv->timeout_id = g_timeout_add (10 * ABS (priv->distance), + priv->auto_scroll_timeout_id = g_timeout_add (10 * ABS (priv->distance), (GSourceFunc) individual_view_auto_scroll_cb, widget); } -- 2.39.2