Additions

svn path=/trunk/; revision=6945
This commit is contained in:
Matthias Clasen 2008-05-27 16:46:43 +00:00
parent 2356ba3471
commit 8aa6abbd6c
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-05-27 Matthias Clasen <mclasen@redhat.com>
* glib/compiling.sgml: Document G_DISABLE_SINGLE_INCLUDES
2008-05-27 Michael Natterer <mitch@gimp.org>
* glib/tmpl/gurifuncs.sgml

View File

@ -67,6 +67,18 @@ functions, you can define the preprocessor symbol G_DISABLE_DEPRECATED
by using the command line option <literal>-DG_DISABLE_DEPRECATED=1</literal>.
</para>
<para>
The recommended way of using GLib has always been to only include the
toplevel headers <filename>glib.h</filename>,
<filename>glib-object.h</filename>, <filename>gio.h</filename>.
Starting with 2.17, GLib enforces this this by generating an error
when individual headers are directly included. To help with the
transition, the enforcement is not turned on by default for GLib
headers (it <emphasis>is</emphasis> turned on for GObject and GIO).
To turn it on, define the preprocessor symbol G_DISABLE_SINGLE_INCLUDES
by using the command line option <literal>-DG_DISABLE_SINGLE_INCLUDES</literal>.
</para>
</refsect1>
</refentry>