summaryrefslogtreecommitdiff
path: root/README.in
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-01-12 13:02:31 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-01-12 13:02:31 -0500
commitbe04560f96b533a1ac591f466a2ad5b428348069 (patch)
tree6d247a362ca9df3aef45cbee8213181014eb1a31 /README.in
parent8fe8dcda1e6c3d799a0409ef983811d9c659a3cf (diff)
downloadglib-be04560f96b533a1ac591f466a2ad5b428348069.tar.gz
Expand g_type_init release notes
This is in the light of https://bugzilla.gnome.org/show_bug.cgi?id=691077
Diffstat (limited to 'README.in')
-rw-r--r--README.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.in b/README.in
index 1122c1674..10ae6063c 100644
--- a/README.in
+++ b/README.in
@@ -74,6 +74,11 @@ Notes about GLib 2.36
loading GLib as a dynamic module, you should be careful to avoid
unloading it, then subsequently loading it again. This never
really worked before, but it is now explicitly undefined behavior.
+ Note that if g_type_init() was the only explicit use of a GObject
+ API and you are using linker flags such as --no-add-needed, then
+ you may have to artificially use some GObject call to keep the
+ linker from optimizing away -lgobject. We recommend to use
+ g_type_ensure (G_TYPE_OBJECT) for this purpose.
* This release contains an incompatible change to the g_get_home_dir()
function. Previously, this function would effectively ignore the HOME