diff options
author | Elijah Newren <newren@gmail.com> | 2006-01-10 04:50:17 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2006-01-10 04:50:17 +0000 |
commit | ee54debd6aa1a081e8e08db464ed2a615d5bb045 (patch) | |
tree | 27394dc65c5f78114a0533fe9550fb19c045d465 | |
parent | 24cfed8cf0175e4656fe6a7b3eb0158fb6347c9e (diff) | |
download | metacity-ee54debd6aa1a081e8e08db464ed2a615d5bb045.tar.gz |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/bell.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 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 "pull-away" edge resistance. Fixes another of the zillions of issues covered in #321905. @@ -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); } |