From af6b6145272e39396aacc8af352739540d1c7faa Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 10 Sep 2007 03:16:13 +0000 Subject: Remove update_idle here. Might fix #383003. 2007-09-09 Matthias Clasen * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Remove update_idle here. Might fix #383003. svn path=/trunk/; revision=18776 --- gtk/gtkdnd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gtk/gtkdnd.c') diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 31d1d9233e..856c49197b 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -3803,6 +3803,9 @@ gtk_drag_source_info_destroy (GtkDragSourceInfo *info) if (info->drop_timeout) g_source_remove (info->drop_timeout); + if (info->update_idle) + g_source_remove (info->update_idle); + g_free (info); } @@ -3857,7 +3860,7 @@ gtk_drag_update_idle (gpointer data) static void gtk_drag_add_update_idle (GtkDragSourceInfo *info) { - /* We use an idle lowerthan GDK_PRIORITY_REDRAW so that exposes + /* We use an idle lower than GDK_PRIORITY_REDRAW so that exposes * from the last move can catch up before we move again. */ if (!info->update_idle) -- cgit v1.2.1