diff options
| author | Ted Gould <ted@gould.cx> | 2008-10-31 21:31:40 +0000 |
|---|---|---|
| committer | Ted Gould <ted@canonical.com> | 2008-10-31 21:31:40 +0000 |
| commit | 648c036c5b9a963e990c1fe02a05bb2db199616d (patch) | |
| tree | 48eca36ba98fc650f577bb7a5020bfcc038e4173 /src/xml/simple-node.h | |
| parent | Patch from Hannes Hochreiner to make it so that attributes on the root node c... (diff) | |
| download | inkscape-648c036c5b9a963e990c1fe02a05bb2db199616d.tar.gz inkscape-648c036c5b9a963e990c1fe02a05bb2db199616d.zip | |
Making it so that including simple-node.h will generate an error
(bzr r6889)
Diffstat (limited to 'src/xml/simple-node.h')
| -rw-r--r-- | src/xml/simple-node.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xml/simple-node.h b/src/xml/simple-node.h index 044068eb1..67070d0fc 100644 --- a/src/xml/simple-node.h +++ b/src/xml/simple-node.h @@ -11,6 +11,10 @@ * See the file COPYING for details. */ +#ifndef SEEN_INKSCAPE_XML_NODE_H +#error You have included xml/simple-node.h in your document, which is an implementation. Chances are that you want xml/node.h. Please fix that. +#endif + #ifndef SEEN_INKSCAPE_XML_SIMPLE_NODE_H #define SEEN_INKSCAPE_XML_SIMPLE_NODE_H |
