docs: Add G_ENABLE_DIAGNOSTIC

We need to mention this environment variable, so that developers have a
fighting chance of actually using it.

https://bugzilla.gnome.org/show_bug.cgi?id=732184
This commit is contained in:
Emmanuele Bassi 2018-02-09 19:34:40 +00:00
parent 77419cf578
commit 9453b97e09

View File

@ -244,6 +244,16 @@ How to run and debug your GLib application
</para>
</formalpara>
<formalpara id="G_ENABLE_DIAGNOSTIC">
<title><envar>G_ENABLE_DIAGNOSTIC</envar></title>
<para>
If set to a non-zero value, this environment variable enables
diagnostic messages, like deprecation messages for GObject properties
and signals.
</para>
</formalpara>
</refsect2>
<refsect2 id="setlocale">