From 739458e5d31c1fbf42a57cb1cfd2be0ccc069d12 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 15 Apr 2003 16:10:45 +0000 Subject: Fix some stupid type registration/ class size problems from last commit. Tue Apr 15 00:07:21 2003 Owen Taylor * pango/pangoft2.[ch]: Fix some stupid type registration/ class size problems from last commit. --- ChangeLog | 5 +++++ ChangeLog.pre-1-10 | 5 +++++ ChangeLog.pre-1-4 | 5 +++++ ChangeLog.pre-1-6 | 5 +++++ ChangeLog.pre-1-8 | 5 +++++ pango/pangoft2-private.h | 2 +- pango/pangoft2.c | 6 +++--- 7 files changed, 29 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6c6215f9..6ef5bdf3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 15 00:07:21 2003 Owen Taylor + + * pango/pangoft2.[ch]: Fix some stupid type registration/ + class size problems from last commit. + Mon Apr 14 06:02:34 2003 Owen Taylor * modules/thai/{thai-fc.c,thai-shaper.c,thai-x.c}: diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 6c6215f9..6ef5bdf3 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +Tue Apr 15 00:07:21 2003 Owen Taylor + + * pango/pangoft2.[ch]: Fix some stupid type registration/ + class size problems from last commit. + Mon Apr 14 06:02:34 2003 Owen Taylor * modules/thai/{thai-fc.c,thai-shaper.c,thai-x.c}: diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 6c6215f9..6ef5bdf3 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,8 @@ +Tue Apr 15 00:07:21 2003 Owen Taylor + + * pango/pangoft2.[ch]: Fix some stupid type registration/ + class size problems from last commit. + Mon Apr 14 06:02:34 2003 Owen Taylor * modules/thai/{thai-fc.c,thai-shaper.c,thai-x.c}: diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 6c6215f9..6ef5bdf3 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +Tue Apr 15 00:07:21 2003 Owen Taylor + + * pango/pangoft2.[ch]: Fix some stupid type registration/ + class size problems from last commit. + Mon Apr 14 06:02:34 2003 Owen Taylor * modules/thai/{thai-fc.c,thai-shaper.c,thai-x.c}: diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 6c6215f9..6ef5bdf3 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +Tue Apr 15 00:07:21 2003 Owen Taylor + + * pango/pangoft2.[ch]: Fix some stupid type registration/ + class size problems from last commit. + Mon Apr 14 06:02:34 2003 Owen Taylor * modules/thai/{thai-fc.c,thai-shaper.c,thai-x.c}: diff --git a/pango/pangoft2-private.h b/pango/pangoft2-private.h index 9b506061..71746f02 100644 --- a/pango/pangoft2-private.h +++ b/pango/pangoft2-private.h @@ -59,7 +59,7 @@ typedef struct _PangoFT2GlyphInfo PangoFT2GlyphInfo; struct _PangoFT2Font { - PangoFont font; + PangoFcFont font; FcPattern *font_pattern; FT_Face face; diff --git a/pango/pangoft2.c b/pango/pangoft2.c index 100a51d4..d742118b 100644 --- a/pango/pangoft2.c +++ b/pango/pangoft2.c @@ -51,7 +51,7 @@ typedef struct _PangoFT2MetricsInfo PangoFT2MetricsInfo; struct _PangoFT2FontClass { - PangoFontClass parent_class; + PangoFcFontClass parent_class; }; struct _PangoFT2MetricsInfo @@ -314,8 +314,8 @@ pango_ft2_font_get_type (void) (GInstanceInitFunc) pango_ft2_font_init, }; - object_type = g_type_register_static (PANGO_TYPE_FONT, - "PangoFcFont", + object_type = g_type_register_static (PANGO_TYPE_FC_FONT, + "PangoFT2Font", &object_info, 0); } -- cgit v1.2.1