docs: Remove escaping '\' from literals
authorVolker Sobek <reklov@live.com>
Sun, 30 Mar 2014 00:01:17 +0000 (01:01 +0100)
committerColin Walters <walters@verbum.org>
Sun, 30 Mar 2014 12:37:23 +0000 (08:37 -0400)
commit 35066ed6c6b51317f49069f2564c547aa309f9f1 replaced entities, but
escaped the replacement text also inside literals, which resulted in the
escaping '\' to also appear in the documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=727320

gio/gappinfo.c
gio/gicon.c
glib/gdatetime.c
glib/gkeyfile.c
glib/grand.c

index f1c4f88..df0cfe0 100644 (file)
@@ -41,7 +41,7 @@
  * (using g_file_get_path()) when using g_app_info_launch() even if
  * the application requested an URI and not a POSIX path. For example
  * for an desktop-file based application with Exec key `totem
- * \%U` and a single URI, `sftp://foo/file.avi`, then
+ * %U` and a single URI, `sftp://foo/file.avi`, then
  * `/home/user/.gvfs/sftp on foo/file.avi` will be passed. This will
  * only work if a set of suitable GIO extensions (such as gvfs 2.26
  * compiled with FUSE support), is available and operational; if this
index 03735d6..31781f6 100644 (file)
@@ -197,7 +197,7 @@ g_icon_to_string_tokenized (GIcon *icon, GString *s)
  *   (such as `/path/to/my icon.png`) without escaping
  *   if the #GFile for @icon is a native file.  If the file is not
  *   native, the returned string is the result of g_file_get_uri()
- *   (such as `sftp://path/to/my\%20icon.png`).
+ *   (such as `sftp://path/to/my%20icon.png`).
  * 
  * - If @icon is a #GThemedIcon with exactly one name, the encoding is
  *    simply the name (such as `network-server`).
index 1771d0f..2d20679 100644 (file)
@@ -2548,7 +2548,7 @@ g_date_time_format_locale (GDateTime   *datetime,
  * - \%C: the century number (year/100) as a 2-digit integer (00-99)
  * - \%d: the day of the month as a decimal number (range 01 to 31)
  * - \%e: the day of the month as a decimal number (range  1 to 31)
- * - \%F: equivalent to `\%Y-\%m-\%d` (the ISO 8601 date format)
+ * - \%F: equivalent to `%Y-%m-%d` (the ISO 8601 date format)
  * - \%g: the last two digits of the ISO 8601 week-based year as a
  *   decimal number (00-99). This works well with \%V and \%u.
  * - \%G: the ISO 8601 week-based year as a decimal number. This works
index f9ca303..cc51eda 100644 (file)
  * Key-value pairs generally have the form `key=value`, with the
  * exception of localized strings, which have the form
  * `key[locale]=value`, with a locale identifier of the
- * form `lang_COUNTRY\@MODIFIER` where `COUNTRY` and `MODIFIER`
+ * form `lang_COUNTRY@MODIFIER` where `COUNTRY` and `MODIFIER`
  * are optional.
  * Space before and after the '=' character are ignored. Newline, tab,
  * carriage return and backslash characters in value are escaped as \n,
index 6b6ca98..6262cd2 100644 (file)
@@ -92,7 +92,7 @@
  *
  * The g_rand*_range functions will return high quality equally
  * distributed random numbers, whereas for example the
- * `(g_random_int()\%max)` approach often
+ * `(g_random_int()%max)` approach often
  * doesn't yield equally distributed numbers.
  *
  * GLib changed the seeding algorithm for the pseudo-random number