[empathy] individual_view_drag_end: remove the auto scroll
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] individual_view_drag_end: remove the auto scroll
- Date: Tue, 31 Jan 2012 09:24:07 +0000 (UTC)
commit 6048958136681930af236460e9cb159b5267c4d0
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Jan 30 15:47:23 2012 +0100
individual_view_drag_end: remove the auto scroll
This ensures that we'll stop scrolling if the DnD operation hasn't been
completed.
https://bugzilla.gnome.org/show_bug.cgi?id=662916
libempathy-gtk/empathy-individual-view.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index dad975b..9061899 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -892,6 +892,12 @@ individual_view_drag_end (GtkWidget *widget,
gtk_tree_row_reference_free (priv->drag_row);
priv->drag_row = NULL;
}
+
+ if (priv->auto_scroll_timeout_id != 0)
+ {
+ g_source_remove (priv->auto_scroll_timeout_id);
+ priv->auto_scroll_timeout_id = 0;
+ }
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]