aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-02-27 12:13:06 +0800
committerChris Toshok <toshok@src.gnome.org>2003-02-27 12:13:06 +0800
commitda0afe53d2d15e3261aa6f38be02f811139a3d27 (patch)
tree27e47d5bb9ced08b579291417ad324f02d9d8510 /widgets
parent954e8117ea873964175c639cb1b572cb73f83d84 (diff)
downloadgsoc2013-evolution-da0afe53d2d15e3261aa6f38be02f811139a3d27.tar.gz
gsoc2013-evolution-da0afe53d2d15e3261aa6f38be02f811139a3d27.tar.zst
gsoc2013-evolution-da0afe53d2d15e3261aa6f38be02f811139a3d27.zip
remove the grab_cancelled_check_id if it's still active.
2003-02-26 Chris Toshok <toshok@ximian.com> * gal/widgets/e-canvas.c (e_canvas_dispose): remove the grab_cancelled_check_id if it's still active. svn path=/trunk/; revision=20083
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-canvas.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/misc/e-canvas.c b/widgets/misc/e-canvas.c
index 310ae9a01a..54282f5408 100644
--- a/widgets/misc/e-canvas.c
+++ b/widgets/misc/e-canvas.c
@@ -128,6 +128,10 @@ e_canvas_dispose (GObject *object)
g_source_remove(canvas->idle_id);
canvas->idle_id = 0;
+ if (canvas->grab_cancelled_check_id)
+ g_source_remove (canvas->grab_cancelled_check_id);
+ canvas->grab_cancelled_check_id = 0;
+
if (canvas->toplevel) {
if (canvas->visibility_notify_id)
g_signal_handler_disconnect (canvas->toplevel,