individual_view_drag_end: remove the auto scroll
[empathy.git] / libempathy-gtk / empathy-individual-view.c
index dad975b3c4a4d6d6ec3f8e72b1cd61ce11042f43..90618997d36e1295c2f388681b341a235fd24315 100644 (file)
@@ -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