diff options
author | Stefan Kost <ensonic@users.sf.net> | 2010-09-19 21:50:31 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2010-09-19 21:50:31 +0300 |
commit | 58e5b01fbc208a8cd374b60951c70e3d5c4355de (patch) | |
tree | 4b7cdb0bd48502ef32565cd45d6cb3765f3b82c9 /docs/reference/gobject/tut_howto.xml | |
parent | 409f7db894bcfc6574d86aec34af6851dacc1666 (diff) | |
download | glib-58e5b01fbc208a8cd374b60951c70e3d5c4355de.tar.gz |
docs: fix docbook validity
'type' must be inside of 'link'.
Diffstat (limited to 'docs/reference/gobject/tut_howto.xml')
-rw-r--r-- | docs/reference/gobject/tut_howto.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/reference/gobject/tut_howto.xml b/docs/reference/gobject/tut_howto.xml index 5d5e75212..2706c60a8 100644 --- a/docs/reference/gobject/tut_howto.xml +++ b/docs/reference/gobject/tut_howto.xml @@ -339,7 +339,7 @@ maman_bar_init (MamanBar *self) Now, if you need special construction properties, install the properties in the class_init function, override the set and get methods and implement the get and set methods as described in <xref linkend="gobject-properties"/>. Make sure that these properties use a construct only - <type><link linkend="GParamSpec">GParamSpec</link></type> by setting the param spec's flag field to G_PARAM_CONSTRUCT_ONLY: this helps + <link linkend="GParamSpec"><type>GParamSpec</type></link> by setting the param spec's flag field to G_PARAM_CONSTRUCT_ONLY: this helps GType ensure that these properties are not set again later by malicious user code. <programlisting> static void @@ -820,8 +820,8 @@ void maman_ibaz_do_action (MamanIbaz *self); #endif /* __MAMAN_IBAZ_H__ */ </programlisting> - This code is the same as the code for a normal <type><link linkend="GType">GType</link></type> - which derives from a <type><link linkend="GObject">GObject</link></type> except for a few details: + This code is the same as the code for a normal <link linkend="GType"><type>GType</type></link> + which derives from a <link linkend="GObject"><type>GObject</type></link> except for a few details: <itemizedlist> <listitem><para> The <function>_GET_CLASS</function> macro is called <function>_GET_INTERFACE</function> @@ -1652,7 +1652,7 @@ klass->write_signal_id = Usually, the <function><link linkend="g-signal-new">g_signal_new</link></function> function is preferred over <function><link linkend="g-signal-newv">g_signal_newv</link></function>. When <function><link linkend="g-signal-new">g_signal_new</link></function> is used, the default closure is exported as a class function. For example, - <filename>gobject.h</filename> contains the declaration of <type><link linkend="GObjectClass">GObjectClass</link></type> + <filename>gobject.h</filename> contains the declaration of <link linkend="GObjectClass"><type>GObjectClass</type></link> whose notify class function is the default handler for the <emphasis>notify</emphasis> signal: <programlisting> @@ -1693,7 +1693,7 @@ g_object_do_class_init (GObjectClass *class) 1, G_TYPE_PARAM); } </programlisting> - <function><link linkend="g-signal-new">g_signal_new</link></function> creates a <type><link linkend="GClosure">GClosure</link></type> which dereferences the + <function><link linkend="g-signal-new">g_signal_new</link></function> creates a <link linkend="GClosure"><type>GClosure</type></link> which dereferences the type's class structure to access the class function pointer and invoke it if it not NULL. The class function is ignored it is set to NULL. </para> |