diff options
-rw-r--r-- | widgets/misc/e-canvas-background.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/misc/e-canvas-background.c b/widgets/misc/e-canvas-background.c index 36b84635ed..791caf1bcc 100644 --- a/widgets/misc/e-canvas-background.c +++ b/widgets/misc/e-canvas-background.c @@ -309,7 +309,10 @@ ecb_init (GnomeCanvasItem *item) ecb->priv = g_new (ECanvasBackgroundPrivate, 1); - ecb->priv->color = (GdkColor) {0,}; + ecb->priv->color.pixel = 0; + ecb->priv->color.red = 0; + ecb->priv->color.green = 0; + ecb->priv->color.blue = 0; ecb->priv->stipple = NULL; ecb->priv->gc = NULL; ecb->priv->x1 = -1.0; |