summaryrefslogtreecommitdiffstats
path: root/src/style.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2007-04-05 17:42:29 +0000
committerjoncruz <joncruz@users.sourceforge.net>2007-04-05 17:42:29 +0000
commit84da2d273f6b04625b0d7528178dcd79bdf38335 (patch)
treeb43ea737f9c3bb2fd551630eacfbe90c30e7b01c /src/style.h
parentReplacing old multifunction widget with separate widget & model (diff)
downloadinkscape-84da2d273f6b04625b0d7528178dcd79bdf38335.tar.gz
inkscape-84da2d273f6b04625b0d7528178dcd79bdf38335.zip
Removed use of union in paint type/struct
(bzr r2821)
Diffstat (limited to 'src/style.h')
-rw-r--r--src/style.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/style.h b/src/style.h
index 5b72b6042..4538626be 100644
--- a/src/style.h
+++ b/src/style.h
@@ -159,14 +159,14 @@ struct SPIPaint {
unsigned inherit : 1;
unsigned currentcolor : 1;
unsigned type : 2;
- union {
- SPColor color;
+ struct {
struct {
SPPaintServer *server;
gchar *uri;
} paint;
+ SPColor color;
+ SVGICCColor *iccColor;
} value;
- SVGICCColor *iccColor;
};
/// Filter type internal to SPStyle