[pango] Fix PangoCoreTextFontsetClass definition so that it builds
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Fix PangoCoreTextFontsetClass definition so that it builds
- Date: Thu, 30 Aug 2012 23:16:52 +0000 (UTC)
commit 22aadf96b8cdd9771c2227fde0c58b6f640e5e3e
Author: John Ralls <jralls ceridwen us>
Date: Thu Aug 30 16:14:42 2012 -0700
Fix PangoCoreTextFontsetClass definition so that it builds
pango/pangocoretext-fontmap.c | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/pango/pangocoretext-fontmap.c b/pango/pangocoretext-fontmap.c
index 6f68d62..a8a9b51 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]