diff --git a/docs/reference/glib/compiling.sgml b/docs/reference/glib/compiling.sgml index 7036e2e80..b12197d6c 100644 --- a/docs/reference/glib/compiling.sgml +++ b/docs/reference/glib/compiling.sgml @@ -75,6 +75,15 @@ by using the command line option -DG_DISABLE_DEPRECATED=1. The recommended way of using GLib has always been to only include the toplevel headers glib.h, glib-object.h, gio.h. +Still, there are some exceptions; these headers have to be included separately: +gmodule.h, +glib/gi18n-lib.h or glib/gi18n.h (see +the Internationalization section), +glib/gprintf.h and glib/gstdio.h +(we don't want to pull in all of stdio). + + + Starting with 2.17, GLib enforces 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 diff --git a/docs/reference/glib/glib-docs.sgml b/docs/reference/glib/glib-docs.sgml index 0ab911b71..c63881d1c 100644 --- a/docs/reference/glib/glib-docs.sgml +++ b/docs/reference/glib/glib-docs.sgml @@ -32,6 +32,7 @@ synchronize their operation. +