summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorDave Camp <dave@ximian.com>2002-05-29 19:22:39 +0000
committerDave Camp <campd@src.gnome.org>2002-05-29 19:22:39 +0000
commitb179b6af1120d7d4191f01398c1c2df61201b129 (patch)
tree54cc6c4926fb5946c4a49390762e15b0c2e02cf0 /gtk
parent2aaf3c0e197e6c3fe0ece207fd79124f8c8b71d1 (diff)
downloadgdk-pixbuf-b179b6af1120d7d4191f01398c1c2df61201b129.tar.gz
Disconnect from keypress events.
2002-05-29 Dave Camp <dave@ximian.com> * gtk/gtkdnd.c (gtk_drag_end): Disconnect from keypress events.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkdnd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 4f86e7f6c..91949373a 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -3041,6 +3041,9 @@ gtk_drag_end (GtkDragSourceInfo *info, guint32 time)
gtk_signal_disconnect_by_func (GTK_OBJECT (info->ipc_widget),
GTK_SIGNAL_FUNC (gtk_drag_motion_cb),
info);
+ gtk_signal_disconnect_by_func (GTK_OBJECT (info->ipc_widget),
+ GTK_SIGNAL_FUNC (gtk_drag_key_cb),
+ info);
/* Send on a release pair to the the original
* widget to convince it to release its grab. We need to