static GType pango_atsui_family_get_type (void);
static GType pango_atsui_face_get_type (void);
+static gpointer pango_atsui_face_parent_class;
+
static const char *
get_real_family (const char *family_name)
{
return atsuifamily->is_monospace;
}
+G_DEFINE_TYPE (PangoATSUIFamily, pango_atsui_family, PANGO_TYPE_FONT_FAMILY);
+
static void
pango_atsui_family_finalize (GObject *object)
{
G_OBJECT_CLASS (pango_atsui_family_parent_class)->finalize (object);
}
-G_DEFINE_TYPE (PangoATSUIFamilyClass, pango_atsui_family, PANGO_TYPE_FONT_FAMILY);
-
static void
pango_atsui_family_class_init (PangoATSUIFamilyClass *class)
{
{
GObjectClass *object_class = (GObjectClass *)class;
+ pango_atsui_face_parent_class = g_type_class_peek_parent (class);
+
object_class->finalize = pango_atsui_face_finalize;
class->describe = pango_atsui_face_describe;
typedef struct _PangoATSUIFamily PangoATSUIFamily;
+typedef struct _PangoFontFamilyClass PangoATSUIFamilyClass;
+
typedef struct _PangoATSUIFace PangoATSUIFace;
typedef struct _PangoATSUIFontMap PangoATSUIFontMap;