Exemplo n.º 1
0
static void
lsm_mathml_document_class_init (LsmMathmlDocumentClass *m_document_class)
{
	LsmDomNodeClass *d_node_class = LSM_DOM_NODE_CLASS (m_document_class);
	LsmDomDocumentClass *d_document_class = LSM_DOM_DOCUMENT_CLASS (m_document_class);

	d_node_class->can_append_child = lsm_mathml_document_can_append_child;

	d_document_class->create_element = lsm_mathml_document_create_element;
	d_document_class->create_view = lsm_mathml_document_create_view;
}
Exemplo n.º 2
0
static void
lsm_svg_document_class_init (LsmSvgDocumentClass *this_class)
{
	GObjectClass *object_class = G_OBJECT_CLASS (this_class);
	LsmDomNodeClass *d_node_class = LSM_DOM_NODE_CLASS (this_class);
	LsmDomDocumentClass *d_document_class = LSM_DOM_DOCUMENT_CLASS (this_class);

	parent_class = g_type_class_peek_parent (this_class);

	object_class->finalize = lsm_svg_document_finalize;

	d_node_class->can_append_child = lsm_svg_document_can_append_child;

	d_document_class->create_element = lsm_svg_document_create_element;
	d_document_class->create_view = lsm_svg_document_create_view;
}