index 4f3329b7cf56e58af0a58d539aa864321e322859..7cd75b3b810292b3d4719c3659d7adf81b1b615c 100644 (file)
--- a/src/sp-missing-glyph.cpp
+++ b/src/sp-missing-glyph.cpp
-#define __SP_ANCHOR_C__
+#include "config.h"
+#ifdef ENABLE_SVG_FONTS
+#define __SP_MISSING_GLYPH_C__
/*
* SVG <missing-glyph> element implementation
{
SPObjectClass *sp_object_class = (SPObjectClass *) gc;
- parent_class = (SPObjectClass *) g_type_class_ref(SP_TYPE_OBJECT);
+ parent_class = (SPObjectClass*)g_type_class_peek_parent(gc);
sp_object_class->build = sp_missing_glyph_build;
sp_object_class->release = sp_missing_glyph_release;
@@ -178,7 +180,7 @@ static Inkscape::XML::Node *sp_missing_glyph_write(SPObject *object, Inkscape::X
return repr;
}
-
+#endif //#ifdef ENABLE_SVG_FONTS
/*
Local Variables:
mode:c++