Use the right function to remove the timeout so that we don't crash if

2006-01-09  Elijah Newren  <newren@gmail.com>

	* src/bell.c (meta_bell_notify_frame_destroy): Use the right
	function to remove the timeout so that we don't crash if removed
	at an inopportune time.  Fixes #322031.
This commit is contained in:
Elijah Newren 2006-01-10 04:50:17 +00:00 committed by Elijah Newren
parent 24cfed8cf0
commit ee54debd6a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-01-09 Elijah Newren <newren@gmail.com>
* src/bell.c (meta_bell_notify_frame_destroy): Use the right
function to remove the timeout so that we don't crash if removed
at an inopportune time. Fixes #322031.
2006-01-09 Elijah Newren <newren@gmail.com> 2006-01-09 Elijah Newren <newren@gmail.com>
* src/edge-resistance.c (apply_edge_resistance): Remove the * src/edge-resistance.c (apply_edge_resistance): Remove the

View File

@ -252,5 +252,5 @@ void
meta_bell_notify_frame_destroy (MetaFrame *frame) meta_bell_notify_frame_destroy (MetaFrame *frame)
{ {
if (frame->is_flashing) if (frame->is_flashing)
g_idle_remove_by_data (frame); g_source_remove_by_funcs_user_data (&g_timeout_funcs, frame);
} }