changeset 13832:d1fdde7cfc0a

[gaim-migrate @ 16281] SF Patch #1500640 from bsponline Fixes SF Bug #1493888 The bug description is: "These are the steps you need to take to reproduce the bug in beta3: 1. expand a contact. 2. re-arrange the protocol order for the contact. 3. do NOT collapse the contact. 4. hover over another contact. The other contact will auto-expand too, which it should not." committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 19 Jun 2006 05:17:54 +0000
parents 3c6d0c24179a
children 571aebbe5ec6
files src/gtkblist.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Mon Jun 19 04:49:12 2006 +0000
+++ b/src/gtkblist.c	Mon Jun 19 05:17:54 2006 +0000
@@ -1659,6 +1659,11 @@
 static void gaim_gtk_blist_drag_data_rcv_cb(GtkWidget *widget, GdkDragContext *dc, guint x, guint y,
 			  GtkSelectionData *sd, guint info, guint t)
 {
+	if (gtkblist->drag_timeout) {
+		g_source_remove(gtkblist->drag_timeout);
+		gtkblist->drag_timeout = 0;
+	}
+
 	if (sd->target == gdk_atom_intern("GAIM_BLIST_NODE", FALSE) && sd->data) {
 		GaimBlistNode *n = NULL;
 		GtkTreePath *path = NULL;