-
Committer:
Thinker Li
-
Date:
2011-04-22 06:45:15 UTC
-
Revision ID:
thinker@codemud.net-20110422064515-aksx6c1t0crf2wsm
Fix issue of fail to install event handler on SPItemClass.
- Initial function was called before the class object being created.
It is fail to install the handler.
- Fixed by call g_type_class_ref() instead of g_type_class_peek()
to create class object if it is not existing.
- Fix the issue that can not initialize GValue properly.
- GValue instances must be zeroed before initialisation.