summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2006-01-10 04:50:17 +0000
committerElijah Newren <newren@src.gnome.org>2006-01-10 04:50:17 +0000
commitee54debd6aa1a081e8e08db464ed2a615d5bb045 (patch)
tree27394dc65c5f78114a0533fe9550fb19c045d465
parent24cfed8cf0175e4656fe6a7b3eb0158fb6347c9e (diff)
downloadmetacity-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--ChangeLog6
-rw-r--r--src/bell.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e43f66c7..97aeb602 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/src/bell.c b/src/bell.c
index cb1cf353..1aefc77d 100644
--- a/src/bell.c
+++ b/src/bell.c
@@ -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);
}