Always return FALSE from idle callback to avoid loop

In the destroyed window case in do_synthesize_crossing_event we didn't
return a value which can cause infinite "loops". Always return FALSE
to make sure the idle doesn't run again.
This commit is contained in:
Alexander Larsson 2009-06-12 12:45:31 +02:00
parent 56dfbd997e
commit bd0e95081f

View File

@ -8736,7 +8736,7 @@ do_synthesize_crossing_event (gpointer data)
changed_toplevel_priv->synthesize_crossing_event_queued = FALSE;
if (GDK_WINDOW_DESTROYED (changed_toplevel))
return;
return FALSE;
display = gdk_drawable_get_display (changed_toplevel);
serial = _gdk_windowing_window_get_next_serial (display);