summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2012-08-30 16:14:42 -0700
committerJohn Ralls <jralls@ceridwen.us>2012-08-30 16:14:42 -0700
commit22aadf96b8cdd9771c2227fde0c58b6f640e5e3e (patch)
tree1aa5bc33f6840013cc3331a424137360cabd28e4
parent9f5dd43267459393c17343c3dfc3b29ee76606ce (diff)
downloadpango-22aadf96b8cdd9771c2227fde0c58b6f640e5e3e.tar.gz
Fix PangoCoreTextFontsetClass definition so that it builds
-rw-r--r--pango/pangocoretext-fontmap.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c
index 6f68d62e..a8a9b518 100644
--- a/pango/pangocoretext-fontmap.c
+++ b/pango/pangocoretext-fontmap.c
@@ -1490,8 +1490,16 @@ struct _PangoCoreTextFontset
GPtrArray *coverages;
};
-typedef PangoFontsetClass PangoCoreTextFontsetClass;
+struct _PangoCoreTextFontsetClass
+{
+ PangoFontsetClass parent_instance;
+};
+typedef struct _PangoCoreTextFontsetClass PangoCoreTextFontsetClass;
+
+G_DEFINE_TYPE (PangoCoreTextFontset,
+ pango_core_text_fontset,
+ PANGO_TYPE_FONTSET);
/* This symbol does exist in the CoreText library shipped with Snow
* Leopard and Lion, however, it is not found in the public header files.
@@ -1744,6 +1752,3 @@ pango_core_text_fontset_foreach (PangoFontset *fontset,
}
}
-G_DEFINE_TYPE (PangoCoreTextFontset,
- pango_core_text_fontset,
- PANGO_TYPE_FONTSET);