From 48342ad2bdc5343cb77cae1159795c79c4203474 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 19 Feb 2011 10:02:29 -0500 Subject: [PATCH] Add warnings about environment variables These variables all get read by GTK 3 as well, which makes them dangerous at best. --- docs/reference/gtk/running.sgml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/reference/gtk/running.sgml b/docs/reference/gtk/running.sgml index 1d8d2f86d2..837183227f 100644 --- a/docs/reference/gtk/running.sgml +++ b/docs/reference/gtk/running.sgml @@ -201,6 +201,10 @@ additional environment variables. A list of modules to load. Note that GTK+ also allows to specify modules to load via a commandline option () and with the gtk-modules setting. + + Note that this environment variable is read by GTK+ 3 too, + which may not have the same set of modules available for loading. + @@ -243,6 +247,12 @@ additional environment variables. The components of GTK_PATH are separated by the ':' character on Linux and Unix, and the ';' character on Windows. + + Note that this environment variable is read by GTK+ 3 too, which + makes it unsuitable for setting it system-wide (or session-wide), + since doing so will cause either GTK+ 2.x applications or GTK+ 3 + applications to see incompatible modules. + @@ -277,6 +287,12 @@ additional environment variables. Specifies a list of RC files to parse instead of the default ones; see Resource Files. + + Note that this environment variable is read by GTK+ 3 too, which + makes it unsuitable for setting it system-wide (or session-wide), + since doing so will cause either GTK+ 2.x applications or GTK+ 3 + applications to see the wrong list of IM modules. +