diff --git a/gobject/gobject.h b/gobject/gobject.h index 1a6c96915..9830663ce 100644 --- a/gobject/gobject.h +++ b/gobject/gobject.h @@ -287,9 +287,8 @@ struct _GObject * * The class structure for the GObject type. * - * - * Implementing singletons using a constructor - * + * |[ + * // Example of implementing a singleton using a constructor. * static MySingleton *the_singleton = NULL; * * static GObject* @@ -311,7 +310,7 @@ struct _GObject * * return object; * } - * + * ]| */ struct _GObjectClass {