Updates
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 27 May 2008 19:56:26 +0000 (19:56 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 27 May 2008 19:56:26 +0000 (19:56 +0000)
svn path=/trunk/; revision=6947

ChangeLog
README.in

index fbf2517..9b1938a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
 
+       * README.in: Add a note about G_DISABLE_SINGLE_HEADERS.
+
        * NEWS: Updates
 
 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
index b5527f4..a0d618d 100644 (file)
--- a/README.in
+++ b/README.in
@@ -24,6 +24,16 @@ Installation
 
 See the file 'INSTALL'
 
+Notes about GLib 2.18
+=====================
+
+* The recommended way of using GLib has always been to only include the
+  toplevel headers glib.h, glib-object.h and gio.h. 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 headers (it is turned on for GObject and GIO).
+  To turn it on, define the preprocessor symbol G_DISABLE_SINGLE_INCLUDES.
+  
 Notes about GLib 2.16
 =====================
 
@@ -31,7 +41,6 @@ Notes about GLib 2.16
   and libselinux for extended attribute and SELinux support. Use 
   --disable-xattr and --disable-selinux to build without these.
 
-
 Notes about GLib 2.10
 =====================