summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2007-09-10 03:16:13 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-09-10 03:16:13 +0000
commitaf6b6145272e39396aacc8af352739540d1c7faa (patch)
tree5ac23c163243596a1577ad0062755ef2c9762de4 /gtk/gtkdnd.c
parent14afc3345aa2d679211a74dcfaa3bcf0bb9c20eb (diff)
downloadgtk+-af6b6145272e39396aacc8af352739540d1c7faa.tar.gz
Remove update_idle here. Might fix #383003.
2007-09-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Remove update_idle here. Might fix #383003. svn path=/trunk/; revision=18776
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c5
1 files changed, 4 insertions, 1 deletions
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)