aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2002-04-27 04:11:09 +0800
committerChris Lahey <clahey@src.gnome.org>2002-04-27 04:11:09 +0800
commit4d1a6538abbe2e979492861bf6b2ff676ed854a1 (patch)
tree0c6c86e0caffaaebcd0496a7be5053185edb33c5
parent82ac8c3819b5227de647edb28769d03ddf161ec9 (diff)
downloadgsoc2013-evolution-4d1a6538abbe2e979492861bf6b2ff676ed854a1.tar
gsoc2013-evolution-4d1a6538abbe2e979492861bf6b2ff676ed854a1.tar.gz
gsoc2013-evolution-4d1a6538abbe2e979492861bf6b2ff676ed854a1.tar.bz2
gsoc2013-evolution-4d1a6538abbe2e979492861bf6b2ff676ed854a1.tar.lz
gsoc2013-evolution-4d1a6538abbe2e979492861bf6b2ff676ed854a1.tar.xz
gsoc2013-evolution-4d1a6538abbe2e979492861bf6b2ff676ed854a1.tar.zst
gsoc2013-evolution-4d1a6538abbe2e979492861bf6b2ff676ed854a1.zip
Initialize these struct members individually instead of as a struct.
2002-04-26 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas-background.c (ecb_init): Initialize these struct members individually instead of as a struct. svn path=/trunk/; revision=16600
-rw-r--r--widgets/misc/e-canvas-background.c5
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;