mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 00:06:24 +01:00
docs: Remove some latent DocBook usage in the GObjectClass documentation
Replace it with gtk-doc syntax. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
2939585bd6
commit
7c2fd10fe4
@ -287,9 +287,8 @@ struct _GObject
|
|||||||
*
|
*
|
||||||
* The class structure for the GObject type.
|
* The class structure for the GObject type.
|
||||||
*
|
*
|
||||||
* <example>
|
* |[<!-- language="C" -->
|
||||||
* <title>Implementing singletons using a constructor</title>
|
* // Example of implementing a singleton using a constructor.
|
||||||
* <programlisting>
|
|
||||||
* static MySingleton *the_singleton = NULL;
|
* static MySingleton *the_singleton = NULL;
|
||||||
*
|
*
|
||||||
* static GObject*
|
* static GObject*
|
||||||
@ -311,7 +310,7 @@ struct _GObject
|
|||||||
*
|
*
|
||||||
* return object;
|
* return object;
|
||||||
* }
|
* }
|
||||||
* </programlisting></example>
|
* ]|
|
||||||
*/
|
*/
|
||||||
struct _GObjectClass
|
struct _GObjectClass
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user