docs: Replace <structname> tags with back ticks

https://bugzilla.gnome.org/show_bug.cgi?id=731050
This commit is contained in:
Emmanuele Bassi 2014-05-31 19:20:03 +01:00
parent 903a5d711e
commit a0c3fdfae0
5 changed files with 12 additions and 12 deletions

View File

@ -72,7 +72,7 @@ GQuark g_bookmark_file_error_quark (void);
/** /**
* GBookmarkFile: * GBookmarkFile:
* *
* The <structname>GBookmarkFile</structname> struct contains only * The `GBookmarkFile` structure contains only
* private data and should not be directly accessed. * private data and should not be directly accessed.
*/ */
typedef struct _GBookmarkFile GBookmarkFile; typedef struct _GBookmarkFile GBookmarkFile;

View File

@ -91,7 +91,7 @@ typedef gint64 GTimeSpan;
/** /**
* GDateTime: * GDateTime:
* *
* <structname>GDateTime</structname> is an opaque structure whose members * `GDateTime` is an opaque structure whose members
* cannot be accessed directly. * cannot be accessed directly.
* *
* Since: 2.26 * Since: 2.26

View File

@ -36,8 +36,8 @@ G_BEGIN_DECLS
* @code: error code, e.g. %G_FILE_ERROR_NOENT * @code: error code, e.g. %G_FILE_ERROR_NOENT
* @message: human-readable informative error message * @message: human-readable informative error message
* *
* The <structname>GError</structname> structure contains * The `GError` structure contains information about
* information about an error that has occurred. * an error that has occurred.
*/ */
typedef struct _GError GError; typedef struct _GError GError;

View File

@ -42,7 +42,7 @@ typedef enum /*< flags >*/
/** /**
* GMainContext: * GMainContext:
* *
* The <structname>GMainContext</structname> struct is an opaque data * The `GMainContext` struct is an opaque data
* type representing a set of sources to be handled in a main loop. * type representing a set of sources to be handled in a main loop.
*/ */
typedef struct _GMainContext GMainContext; typedef struct _GMainContext GMainContext;
@ -50,7 +50,7 @@ typedef struct _GMainContext GMainContext;
/** /**
* GMainLoop: * GMainLoop:
* *
* The <structname>GMainLoop</structname> struct is an opaque data type * The `GMainLoop` struct is an opaque data type
* representing the main event loop of a GLib or GTK+ application. * representing the main event loop of a GLib or GTK+ application.
*/ */
typedef struct _GMainLoop GMainLoop; typedef struct _GMainLoop GMainLoop;
@ -58,7 +58,7 @@ typedef struct _GMainLoop GMainLoop;
/** /**
* GSource: * GSource:
* *
* The <structname>GSource</structname> struct is an opaque data type * The `GSource` struct is an opaque data type
* representing an event source. * representing an event source.
*/ */
typedef struct _GSource GSource; typedef struct _GSource GSource;
@ -71,7 +71,7 @@ typedef struct _GSourcePrivate GSourcePrivate;
* @get: Called to extract the callback function and data from the * @get: Called to extract the callback function and data from the
* callback object. * callback object.
* The <structname>GSourceCallbackFuncs</structname> struct contains * The `GSourceCallbackFuncs` struct contains
* functions for managing callback objects. * functions for managing callback objects.
*/ */
typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs; typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
@ -104,7 +104,7 @@ typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
* are needed for this type of event source. * are needed for this type of event source.
* @finalize: Called when the source is finalized. * @finalize: Called when the source is finalized.
* *
* The <structname>GSourceFuncs</structname> struct contains a table of * The `GSourceFuncs` struct contains a table of
* functions used to handle event sources in a generic manner. * functions used to handle event sources in a generic manner.
* *
* For idle sources, the prepare and check functions always return %TRUE * For idle sources, the prepare and check functions always return %TRUE

View File

@ -31,7 +31,7 @@ G_BEGIN_DECLS
/** /**
* GOptionContext: * GOptionContext:
* *
* A <structname>GOptionContext</structname> struct defines which options * A `GOptionContext` struct defines which options
* are accepted by the commandline option parser. The struct has only private * are accepted by the commandline option parser. The struct has only private
* fields and should not be directly accessed. * fields and should not be directly accessed.
*/ */
@ -40,12 +40,12 @@ typedef struct _GOptionContext GOptionContext;
/** /**
* GOptionGroup: * GOptionGroup:
* *
* A <structname>GOptionGroup</structname> struct defines the options in a single * A `GOptionGroup` struct defines the options in a single
* group. The struct has only private fields and should not be directly accessed. * group. The struct has only private fields and should not be directly accessed.
* *
* All options in a group share the same translation function. Libraries which * All options in a group share the same translation function. Libraries which
* need to parse commandline options are expected to provide a function for * need to parse commandline options are expected to provide a function for
* getting a <structname>GOptionGroup</structname> holding their options, which * getting a `GOptionGroup` holding their options, which
* the application can then add to its #GOptionContext. * the application can then add to its #GOptionContext.
*/ */
typedef struct _GOptionGroup GOptionGroup; typedef struct _GOptionGroup GOptionGroup;