diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 6cfc9a964..26ea44208 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2006-08-28 Matthias Clasen + + * glib/compiling.sgml: Add a note about G_DISABLE_DEPRECATED. + (#353172, Matt Barnes) + Wed Aug 16 13:55:39 2006 Tim Janik * glib/tmpl/trash_stack.sgml: added notes about complexity. diff --git a/docs/reference/glib/compiling.sgml b/docs/reference/glib/compiling.sgml index 2bd1a5f70..9459b60db 100644 --- a/docs/reference/glib/compiling.sgml +++ b/docs/reference/glib/compiling.sgml @@ -61,6 +61,12 @@ $ cc `pkg-config --cflags --libs glib-2.0` hello.c -o hello + +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 -DG_DISABLE_DEPRECATED=1. + +