mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 02:06:18 +01:00
docs: Remove escaping '\' from literals
commit 35066ed6c6
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
This commit is contained in:
parent
31694f9ccb
commit
a0b932ac8b
@ -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
|
||||
|
@ -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`).
|
||||
|
@ -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
|
||||
|
@ -116,7 +116,7 @@
|
||||
* 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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user