mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
Small formatting fixes.
* glib/tmpl/string_utils.sgml: * glib/tmpl/threads.sgml: Small formatting fixes.
This commit is contained in:
parent
5e45a337b8
commit
bca67c15fe
@ -1,3 +1,8 @@
|
||||
2002-05-30 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/tmpl/string_utils.sgml:
|
||||
* glib/tmpl/threads.sgml: Small formatting fixes.
|
||||
|
||||
2002-05-26 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/tmpl/conversions.sgml: Add GIConv.
|
||||
|
@ -643,7 +643,7 @@ The typical usage would be something like:
|
||||
<informalexample><programlisting>
|
||||
char buf[G_ASCII_DTOSTR_BUF_SIZE];
|
||||
|
||||
fprintf (out, "value=%s\n", g_ascii_dtostr (buf, sizeof (buf), value));
|
||||
fprintf (out, "value=&percent;s\n", g_ascii_dtostr (buf, sizeof (buf), value));
|
||||
</programlisting></informalexample>
|
||||
</para>
|
||||
|
||||
|
@ -488,7 +488,7 @@ access. A first naive implementation would be:
|
||||
static GMutex * mutex = NULL;
|
||||
|
||||
if (!mutex)
|
||||
mutex = g_mutex_new ();
|
||||
mutex = g_mutex_new (<!-- -->);
|
||||
g_mutex_lock (mutex);
|
||||
ret_val = current_number = calc_next_number (current_number);
|
||||
g_mutex_unlock (mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user