Improve docs

svn path=/trunk/; revision=7006
This commit is contained in:
Matthias Clasen 2008-06-11 17:00:57 +00:00
parent 7372ce2981
commit 74820f48db
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,11 @@
2008-06-11 Matthias Clasen <mclasen@redhat.com>
Bug 530526 Misprint in the description of the fields 'class_init'
and 'class_finalize' of the structure GTypeInfo
* gobject/tmpl/gtype.sgml: Improve GTypeInfo docs
Proposed by Areg Beketovski
2008-06-11 Matthias Clasen <mclasen@redhat.com>
Bug 528719 Improvement to the documentation of the

View File

@ -211,14 +211,14 @@ across invocation of g_type_register_static().
@base_init: Location of the base initialization function (optional).
@base_finalize: Location of the base finalization function (optional).
@class_init: Location of the class initialization function for
classed and types. Location of the default vtable inititalization
function for interface types. (optional) This function is used both
to fill in virtual functions in the class or default vtable, and
to do type-specific setup such as registering signals and object
classed and instantiatable types. Location of the default vtable
inititalization function for interface types. (optional) This function
is used both to fill in virtual functions in the class or default vtable,
and to do type-specific setup such as registering signals and object
properties.
@class_finalize: Location of the class finalization function for
classed and types. Location fo the default vtable finalization
function for interface types. (optional)
classed and instantiatable types. Location fo the default vtable
finalization function for interface types. (optional)
@class_data: User-supplied data passed to the class init/finalize functions.
@instance_size: Size of the instance (object) structure (required for instantiatable types only).
@n_preallocs: Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the <link linkend="glib-Memory-Slices">slice allocator</link> now.