Add a note about G_DISABLE_DEPRECATED. (#353172, Matt Barnes)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 28 Aug 2006 17:20:02 +0000 (17:20 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 28 Aug 2006 17:20:02 +0000 (17:20 +0000)
2006-08-28  Matthias Clasen  <mclasen@redhat.com>

        * glib/compiling.sgml: Add a note about G_DISABLE_DEPRECATED.
        (#353172, Matt Barnes)

docs/reference/ChangeLog
docs/reference/glib/compiling.sgml

index 6cfc9a9..26ea442 100644 (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>
 
        * glib/tmpl/trash_stack.sgml: added notes about complexity.
index 2bd1a5f..9459b60 100644 (file)
@@ -61,6 +61,12 @@ $ cc `pkg-config --cflags --libs glib-2.0` hello.c -o hello
 </programlisting>
 </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>
 
 </refentry>