guard against multiple calls.
2002-12-04 Chris Toshok <toshok@ximian.com> * gal/widgets/e-canvas-background.c (ecb_dispose): guard against multiple calls. svn path=/trunk/; revision=19009
This commit is contained in:
committed by
Chris Toshok
parent
aef8f713ae
commit
31002ecdfa
@ -173,11 +173,11 @@ ecb_dispose (GObject *object)
|
||||
{
|
||||
ECanvasBackground *ecb = E_CANVAS_BACKGROUND (object);
|
||||
|
||||
if (ecb->priv->stipple)
|
||||
gdk_bitmap_unref (ecb->priv->stipple);
|
||||
ecb->priv->stipple = NULL;
|
||||
|
||||
if (ecb->priv) {
|
||||
if (ecb->priv->stipple)
|
||||
gdk_bitmap_unref (ecb->priv->stipple);
|
||||
ecb->priv->stipple = NULL;
|
||||
|
||||
g_free (ecb->priv);
|
||||
ecb->priv = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user