[glib] Don't use the varname tag
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Don't use the varname tag
- Date: Sun, 2 Feb 2014 02:57:09 +0000 (UTC)
commit 9b6cc973a00bfa4bd9dccbfbe38518587e22a614
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 1 21:41:57 2014 -0500
Don't use the varname tag
This is just an environment variable, after all.
glib/gtimezone.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/glib/gtimezone.c b/glib/gtimezone.c
index fa91f33..1295097 100644
--- a/glib/gtimezone.c
+++ b/glib/gtimezone.c
@@ -1305,7 +1305,7 @@ rules_from_identifier (const gchar *identifier,
*
* @identifier can either be an RFC3339/ISO 8601 time offset or
* something that would pass as a valid value for the
- * <varname>TZ</varname> environment variable (including %NULL).
+ * <envar>TZ</envar> environment variable (including %NULL).
*
* In Windows, @identifier can also be the unlocalized name of a time
* zone for standard time, for example "Pacific Standard Time".
@@ -1316,7 +1316,7 @@ rules_from_identifier (const gchar *identifier,
* time values to be added to Coordinated Universal Time (UTC) to get
* the local time.
*
- * In Unix, the <varname>TZ</varname> environment variable typically
+ * In Unix, the <envar>TZ</envar> environment variable typically
* corresponds to the name of a file in the zoneinfo database, or
* string in "std offset [dst [offset],start[/time],end[/time]]"
* (POSIX) format. There are no spaces in the specification. The
@@ -1339,15 +1339,15 @@ rules_from_identifier (const gchar *identifier,
* Coordinated Universal Time (UTC).
*
* g_time_zone_new_local() calls this function with the value of the
- * <varname>TZ</varname> environment variable. This function itself is
- * independent of the value of <varname>TZ</varname>, but if @identifier
+ * <envar>TZ</envar> environment variable. This function itself is
+ * independent of the value of <envar>TZ</envar>, but if @identifier
* is %NULL then <filename>/etc/localtime</filename> will be consulted
* to discover the correct time zone on Unix and the registry will be
* consulted or GetTimeZoneInformation() will be used to get the local
* time zone on Windows.
*
* If intervals are not available, only time zone rules from
- * <varname>TZ</varname> environment variable or other means, then they
+ * <envar>TZ</envar> environment variable or other means, then they
* will be computed from year 1900 to 2037. If the maximum year for the
* rules is available and it is greater than 2037, then it will followed
* instead.
@@ -1355,11 +1355,11 @@ rules_from_identifier (const gchar *identifier,
* See <ulink
* url='http://tools.ietf.org/html/rfc3339#section-5.6'>RFC3339
* ยง5.6</ulink> for a precise definition of valid RFC3339 time offsets
- * (the <varname>time-offset</varname> expansion) and ISO 8601 for the
+ * (the <literal>time-offset</literal> expansion) and ISO 8601 for the
* full list of valid time offsets. See <ulink
* url='http://www.gnu.org/s/libc/manual/html_node/TZ-Variable.html'>The
* GNU C Library manual</ulink> for an explanation of the possible
- * values of the <varname>TZ</varname> environment variable. See <ulink
+ * values of the <envar>TZ</envar> environment variable. See <ulink
* url='http://msdn.microsoft.com/en-us/library/ms912391%28v=winembedded.11%29.aspx'>
* Microsoft Time Zone Index Values</ulink> for the list of time zones
* on Windows.
@@ -1493,7 +1493,7 @@ g_time_zone_new_utc (void)
* if the system administrator changes it.
*
* This is equivalent to calling g_time_zone_new() with the value of the
- * <varname>TZ</varname> environment variable (including the possibility
+ * <envar>TZ</envar> environment variable (including the possibility
* of %NULL).
*
* You should release the return value by calling g_time_zone_unref()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]