Code

Warning cleanup.
[inkscape.git] / src / sp-glyph.h
index 40513a259ee080c2f3a1ea9f0cabca2c1b3bf594..8c35a3a8342531de4a18e42a6c5644e2c7f48a26 100644 (file)
@@ -1,3 +1,8 @@
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef ENABLE_SVG_FONTS
 #ifndef __SP_GLYPH_H__
 #define __SP_GLYPH_H__
 
@@ -34,8 +39,8 @@ enum glyphOrientation {
 };
 
 struct SPGlyph : public SPObject {
-    char* unicode;
-    char* glyph_name;
+    Glib::ustring unicode;
+    Glib::ustring glyph_name;
     char* d;
     glyphOrientation orientation;
     glyphArabicForm arabic_form;
@@ -53,3 +58,4 @@ struct SPGlyphClass {
 GType sp_glyph_get_type (void);
 
 #endif //#ifndef __SP_GLYPH_H__
+#endif //#ifdef ENABLE_SVG_FONTS