aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-canvas.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/misc/e-canvas.c b/widgets/misc/e-canvas.c
index 7bdab7321f..8be100fb4a 100644
--- a/widgets/misc/e-canvas.c
+++ b/widgets/misc/e-canvas.c
@@ -140,6 +140,11 @@ e_canvas_dispose (GObject *object)
canvas->toplevel = NULL;
}
+ if (canvas->im_context) {
+ g_object_unref (canvas->im_context);
+ canvas->im_context = NULL;
+ }
+
e_canvas_hide_tooltip(canvas);
if ((G_OBJECT_CLASS (parent_class))->dispose)