From: Matthias Clasen Date: Mon, 1 Dec 2008 03:13:46 +0000 (+0000) Subject: Remove the questionable closing sentence and all references to private X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=7570db065acdc478d4f996b34daff5a88e03dd31;p=dana%2Fcg-glib.git Remove the questionable closing sentence and all references to private * gobject/tut_gtype.xml: Remove the questionable closing sentence and all references to private functions. Pointed out by Christian Dywan. svn path=/trunk/; revision=7711 --- diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index de3cecd4..4b1f5d1d 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,12 @@ +2008-11-30 Matthias Clasen + + Bug 562538 – GObject interface tutorial shouldn't finalise with + "Please forget everything" + + * gobject/tut_gtype.xml: Remove the questionable closing sentence + and all references to private functions. Pointed out by Christian + Dywan. + 2008-11-28 Matthias Clasen Bug 559452 – GObject Reference Manual (typo) diff --git a/docs/reference/gobject/tut_gtype.xml b/docs/reference/gobject/tut_gtype.xml index d9c9bf23..2ea2bf3c 100644 --- a/docs/reference/gobject/tut_gtype.xml +++ b/docs/reference/gobject/tut_gtype.xml @@ -540,12 +540,6 @@ void g_type_free_instance (GTypeInstance *instance); initialization of the class structure. Finally, the object's interfaces are initialized (we will discuss interface initialization in more detail later). - - - The class initialization process is entirely implemented in - type_class_init_Wm in gtype.c. - - @@ -563,15 +557,9 @@ void g_type_free_instance (GTypeInstance *instance); - Class destruction - - It is implemented in type_data_finalize_class_U - (in gtype.c. - - - (the concept of destruction is sometimes partly referred to as finalization - in GType) is the symmetric process of the initialization: interfaces are - destroyed first. + Class destruction (the concept of destruction is sometimes partly + referred to as finalization in GType) is the symmetric process of + the initialization: interfaces are destroyed first. Then, the most derived class_finalize (ClassFinalizeFunc) function is invoked. The base_class_finalize (GBaseFinalizeFunc) functions are @@ -784,13 +772,12 @@ struct _GInterfaceInfo Interface Initialization - When an instantiable classed type which registered an interface implementation - is created for the first time, its class structure is initialized following the process - described in . Once the class structure is - initialized, the function type_class_init_Wm (implemented in - gtype.c) initializes the interface implementations associated with - that type by calling type_iface_vtable_init_Wm for each - interface. + When an instantiable classed type which registered an interface + implementation is created for the first time, its class structure + is initialized following the process + described in . + After that, the interface implementations associated with + the type are initialized. @@ -889,14 +876,15 @@ maman_ibaz_base_init (gpointer g_iface) Interface Destruction - When the last instance of an instantiable type which registered an interface implementation - is destroyed, the interface's implementations associated to the type are destroyed by - type_iface_vtable_finalize_Wm (in gtype.c). + When the last instance of an instantiable type which registered + an interface implementation is destroyed, the interface's + implementations associated to the type are destroyed. - type_iface_vtable_finalize_Wm invokes first the implementation's - interface_finalize function and then the interface's most-derived + To destroy an interface implementation, GType first calls the + implementation's interface_finalize function + and then the interface's most-derived base_finalize function. @@ -945,14 +933,6 @@ maman_ibaz_base_init (gpointer g_iface) - - - Now that you have read this section, you can forget about it. Please, forget it - as soon as possible. - - - -