Destroy the gdkIC if we have one
2000-12-07 JP Rosevear <jpr@helixcode.com> * gal/widgets/e-canvas.c (e_canvas_destroy): Destroy the gdkIC if we have one svn path=/trunk/; revision=6847
This commit is contained in:
@ -120,8 +120,13 @@ static void
|
||||
e_canvas_destroy (GtkObject *object)
|
||||
{
|
||||
ECanvas *canvas = E_CANVAS(object);
|
||||
|
||||
if (canvas->idle_id)
|
||||
g_source_remove(canvas->idle_id);
|
||||
|
||||
if (canvas->ic)
|
||||
gdk_ic_destroy (canvas->ic);
|
||||
|
||||
if ((GTK_OBJECT_CLASS (parent_class))->destroy)
|
||||
(*(GTK_OBJECT_CLASS (parent_class))->destroy) (object);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user