G_DEFINE_TYPE macros



Hello,
	I have some questions about how the macros are suppose to be used: 

Why is parent_class declared static in the expansion? I don't think I've
ever read where this is required or even a good idea.

How does one add class_finalize or base_init/_finalize to the GTypeInfo?
It seems that only class_init and instance_init are specified.

Cheers,
Ryan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]