aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorLarry Ewing <lewing@src.gnome.org>2003-06-13 23:13:05 +0800
committerLarry Ewing <lewing@src.gnome.org>2003-06-13 23:13:05 +0800
commit1377ba2908a068192420ce77ea2067d08ddcefe9 (patch)
treed1bd1d1022c705e8605497a31e244a0c59c0ab6e /widgets/misc
parente69481e6e73be3402c9d108802112eeffcb2e7ad (diff)
downloadgsoc2013-evolution-1377ba2908a068192420ce77ea2067d08ddcefe9.tar
gsoc2013-evolution-1377ba2908a068192420ce77ea2067d08ddcefe9.tar.gz
gsoc2013-evolution-1377ba2908a068192420ce77ea2067d08ddcefe9.tar.bz2
gsoc2013-evolution-1377ba2908a068192420ce77ea2067d08ddcefe9.tar.lz
gsoc2013-evolution-1377ba2908a068192420ce77ea2067d08ddcefe9.tar.xz
gsoc2013-evolution-1377ba2908a068192420ce77ea2067d08ddcefe9.tar.zst
gsoc2013-evolution-1377ba2908a068192420ce77ea2067d08ddcefe9.zip
i2003-06-13 Larry Ewing <lewing@ximian.com>
* gal/widgets/e-canvas.c (e_canvas_dispose): unref the im_context. svn path=/trunk/; revision=21430
Diffstat (limited to 'widgets/misc')
-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)