summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-03-02 18:20:37 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-03-02 18:23:43 -0500
commit49cc207e35ef6b6ce7f4954a4c067ab43145f6bf (patch)
treeb44611e63ea4bcd0cda0f81f3854f51403a0fe2e /gobject
parentad4d81418ecdaf53950de117710be127d53169da (diff)
docs: Ditch more markup
Some markup was hiding in docs in headers. Drop it there, too.
Diffstat (limited to 'gobject')
-rw-r--r--gobject/gsignal.h5
-rw-r--r--gobject/gtype.h6
-rw-r--r--gobject/gtypeplugin.h8
-rw-r--r--gobject/gvalue.h7
4 files changed, 11 insertions, 15 deletions
diff --git a/gobject/gsignal.h b/gobject/gsignal.h
index c8e64b69b..9e3acf8e9 100644
--- a/gobject/gsignal.h
+++ b/gobject/gsignal.h
@@ -192,9 +192,8 @@ typedef enum
* assume that instances thereof remain persistent across all signal emissions
* they are used in. This is only useful for non ref-counted, value-copy types.
*
- * To flag a signal argument in this way, add
- * <literal>| G_SIGNAL_TYPE_STATIC_SCOPE</literal> to the corresponding argument
- * of g_signal_new().
+ * To flag a signal argument in this way, add `| G_SIGNAL_TYPE_STATIC_SCOPE`
+ * to the corresponding argument of g_signal_new().
* |[
* g_signal_new ("size_request",
* G_TYPE_FROM_CLASS (gobject_class),
diff --git a/gobject/gtype.h b/gobject/gtype.h
index 802877fc6..a1c2d90b5 100644
--- a/gobject/gtype.h
+++ b/gobject/gtype.h
@@ -57,7 +57,7 @@ G_BEGIN_DECLS
* G_TYPE_NONE:
*
* A fundamental type which is used as a replacement for the C
- * <literal>void</literal> return type.
+ * void return type.
*/
#define G_TYPE_NONE G_TYPE_MAKE_FUNDAMENTAL (1)
/**
@@ -1476,8 +1476,8 @@ guint g_type_get_type_registration_serial (void);
* function.
*
* The macro expects the interface initialization function to have the
- * name <literal>t_n ## _default_init</literal>, and the interface
- * structure to have the name <literal>TN ## Interface</literal>.
+ * name `t_n ## _default_init`, and the interface structure to have the
+ * name `TN ## Interface`.
*
* Since: 2.24
*/
diff --git a/gobject/gtypeplugin.h b/gobject/gtypeplugin.h
index afb2d2b6c..43748eae0 100644
--- a/gobject/gtypeplugin.h
+++ b/gobject/gtypeplugin.h
@@ -91,12 +91,10 @@ typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin,
* @unuse_plugin: Decreases the use count of the plugin.
* @complete_type_info: Fills in the #GTypeInfo and
* #GTypeValueTable structs for the type. The structs are initialized
- * with <literal>memset(s, 0, sizeof (s))</literal> before calling
- * this function.
+ * with `memset(s, 0, sizeof (s))` before calling this function.
* @complete_interface_info: Fills in missing parts of the #GInterfaceInfo
- * for the interface. The structs is initialized with
- * <literal>memset(s, 0, sizeof (s))</literal> before calling
- * this function.
+ * for the interface. The structs is initialized with
+ * `memset(s, 0, sizeof (s))` before calling this function.
*
* The #GTypePlugin interface is used by the type system in order to handle
* the lifecycle of dynamically loaded types.
diff --git a/gobject/gvalue.h b/gobject/gvalue.h
index 5ff485f56..9f9bfafca 100644
--- a/gobject/gvalue.h
+++ b/gobject/gvalue.h
@@ -173,10 +173,9 @@ void g_value_register_transform_func (GType src_type,
/**
* G_VALUE_INIT:
*
- * A #GValue must be initialized before it can be used.
- * This macro can be used as initializer instead of an explicit
- * <literal>{ 0 }</literal> when declaring a variable,
- * but it cannot be assigned to a variable.
+ * A #GValue must be initialized before it can be used. This macro can
+ * be used as initializer instead of an explicit `{ 0 }` when declaring
+ * a variable, but it cannot be assigned to a variable.
*
* |[
* GValue value = G_VALUE_INIT;