Add a note about G_DISABLE_DEPRECATED. (#353172, Matt Barnes)

2006-08-28  Matthias Clasen  <mclasen@redhat.com>

        * glib/compiling.sgml: Add a note about G_DISABLE_DEPRECATED.
        (#353172, Matt Barnes)
This commit is contained in:
Matthias Clasen 2006-08-28 17:20:02 +00:00 committed by Matthias Clasen
parent 77332513b9
commit a66bf6e9f2
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-08-28 Matthias Clasen <mclasen@redhat.com>
* glib/compiling.sgml: Add a note about G_DISABLE_DEPRECATED.
(#353172, Matt Barnes)
Wed Aug 16 13:55:39 2006 Tim Janik <timj@imendio.com> Wed Aug 16 13:55:39 2006 Tim Janik <timj@imendio.com>
* glib/tmpl/trash_stack.sgml: added notes about complexity. * glib/tmpl/trash_stack.sgml: added notes about complexity.

View File

@ -61,6 +61,12 @@ $ cc `pkg-config --cflags --libs glib-2.0` hello.c -o hello
</programlisting> </programlisting>
</para> </para>
<para>
If you want to make sure that your program doesn't use any deprecated
functions, you can define the preprocessor symbol G_DISABLE_DEPRECATED
by using the command line option <literal>-DG_DISABLE_DEPRECATED=1</literal>.
</para>
</refsect1> </refsect1>
</refentry> </refentry>