diff options
-rw-r--r-- | widgets/misc/e-canvas.c | 4 |
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, |