mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02:00
Add missing short descriptions, standardize them to start with a capital
* gobject/tmpl/gclosure.sgml: * gobject/tmpl/signals.sgml: * gobject/tmpl/gparamspec.sgml: * gobject/tmpl/value_collection.sgml: * gobject/tmpl/generic_values.sgml: * gobject/tmpl/param_value_types.sgml: * gobject/tmpl/gboxed.sgml: * gobject/tmpl/enumerations_flags.sgml: * gobject/tmpl/objects.sgml: * gobject/tmpl/gtypemodule.sgml: * gobject/tmpl/gtypeplugin.sgml: Add missing short descriptions, standardize them to start with a capital and end without a period. * glib/tmpl/arrays.sgml: * glib/tmpl/memory_chunks.sgml: * glib/tmpl/macros.sgml: Remove periods from titles in examples.
This commit is contained in:
@@ -31,7 +31,7 @@ To set the size of an array, use g_array_set_size().
|
||||
To free an array, use g_array_free().
|
||||
</para>
|
||||
<example>
|
||||
<title>Using a <structname>GArray</structname> to store gint values.</title>
|
||||
<title>Using a <structname>GArray</structname> to store <type>gint</type> values</title>
|
||||
<programlisting>
|
||||
GArray *garray;
|
||||
gint i;
|
||||
@@ -240,7 +240,7 @@ Returns the element of a #GArray at the given index.
|
||||
The return value is cast to the given type.
|
||||
|
||||
<example>
|
||||
<title>Getting a pointer to an element in a <structname>GArray</structname>.</title>
|
||||
<title>Getting a pointer to an element in a <structname>GArray</structname></title>
|
||||
<programlisting>
|
||||
EDayViewEvent *event;
|
||||
|
||||
|
@@ -66,7 +66,7 @@ It returns %TRUE if the GLib library is the same or newer than the given
|
||||
version.
|
||||
|
||||
<example>
|
||||
<title>Checking the version of the GLib library.</title>
|
||||
<title>Checking the version of the GLib library</title>
|
||||
<programlisting>
|
||||
if (!GLIB_CHECK_VERSION (1, 2, 0))
|
||||
g_error ("GLib version 1.2.0 or above is needed");
|
||||
|
@@ -56,7 +56,7 @@ To help debug memory chunks, use g_mem_chunk_info() and g_mem_chunk_print().
|
||||
</para>
|
||||
|
||||
<example>
|
||||
<title>Using a GMemChunk.</title>
|
||||
<title>Using a <structname>GMemChunk</structname></title>
|
||||
<programlisting>
|
||||
GMemChunk *mem_chunk;
|
||||
gchar *mem[10000];
|
||||
@@ -89,7 +89,7 @@ To help debug memory chunks, use g_mem_chunk_info() and g_mem_chunk_print().
|
||||
</programlisting></example>
|
||||
|
||||
<example>
|
||||
<title>Using a GMemChunk with data structures.</title>
|
||||
<title>Using a <structname>GMemChunk</structname> with data structures</title>
|
||||
<programlisting>
|
||||
GMemChunk *array_mem_chunk;
|
||||
GRealArray *array;
|
||||
|
Reference in New Issue
Block a user