summaryrefslogtreecommitdiffstats
path: root/src/sp-font.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2008-06-26 01:40:35 +0000
committerjoncruz <joncruz@users.sourceforge.net>2008-06-26 01:40:35 +0000
commit6067e36937ee7d9761de79e203a9b5bfb7f71b62 (patch)
tree93f626cfbb3694080e9870fd9d04a052a12f3c21 /src/sp-font.h
parent* remove g_warnings (diff)
downloadinkscape-6067e36937ee7d9761de79e203a9b5bfb7f71b62.tar.gz
inkscape-6067e36937ee7d9761de79e203a9b5bfb7f71b62.zip
Fixed compilation when the new SVG font stuff is not enabled.
(bzr r6063)
Diffstat (limited to 'src/sp-font.h')
-rw-r--r--src/sp-font.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/sp-font.h b/src/sp-font.h
index 7f54e21a0..fad7ead42 100644
--- a/src/sp-font.h
+++ b/src/sp-font.h
@@ -2,9 +2,8 @@
# include <config.h>
#endif
-#ifdef ENABLE_SVG_FONTS
-#ifndef __SP_FONT_H__
-#define __SP_FONT_H__
+#ifndef SP_FONT_H_SEEN
+#define SP_FONT_H_SEEN
/*
* SVG <font> element implementation
@@ -35,10 +34,9 @@ struct SPFont : public SPObject {
};
struct SPFontClass {
- SPObjectClass parent_class;
+ SPObjectClass parent_class;
};
GType sp_font_get_type (void);
-#endif //#ifndef __SP_FONT_H__
-#endif //#ifdef ENABLE_SVG_FONTS
+#endif //#ifndef SP_FONT_H_SEEN