[glib/wip/date-time-fixes] Add quick disclaimer note to GTimeZone docs



commit d53326376037a0915611634e3162fc52109ac184
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Sep 16 13:17:36 2010 -0400

    Add quick disclaimer note to GTimeZone docs

 glib/gtimezone.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/glib/gtimezone.c b/glib/gtimezone.c
index 8440a30..6d71d9c 100644
--- a/glib/gtimezone.c
+++ b/glib/gtimezone.c
@@ -447,7 +447,9 @@ g_time_zone_new_utc (void)
  * Creates a #GTimeZone corresponding to local time.
  *
  * This is equivalent to calling g_time_zone_new() with the value of the
- * "TZ" environment variable (including the possibility of %NULL).
+ * <varname>TZ</varname> environment variable (including the possibility
+ * of %NULL).  Changes made to <varname>TZ</varname> after the first
+ * call to this function may or may not be noticed by future calls.
  *
  * You should release the return value by calling g_time_zone_unref()
  * when you are done with it.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]