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:
parent
24cfed8cf0
commit
ee54debd6a
@ -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>
|
||||
|
||||
* src/edge-resistance.c (apply_edge_resistance): Remove the
|
||||
|
@ -252,5 +252,5 @@ void
|
||||
meta_bell_notify_frame_destroy (MetaFrame *frame)
|
||||
{
|
||||
if (frame->is_flashing)
|
||||
g_idle_remove_by_data (frame);
|
||||
g_source_remove_by_funcs_user_data (&g_timeout_funcs, frame);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user