[glib] docs: Remove escaping '\' from literals
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] docs: Remove escaping '\' from literals
- Date: Sun, 30 Mar 2014 12:37:43 +0000 (UTC)
commit a0b932ac8bc8a0ee40c32a8f87247baeab78f6ef
Author: Volker Sobek <reklov live com>
Date: Sun Mar 30 01:01:17 2014 +0100
docs: Remove escaping '\' from literals
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 | 2 +-
gio/gicon.c | 2 +-
glib/gdatetime.c | 2 +-
glib/gkeyfile.c | 2 +-
glib/grand.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/gappinfo.c b/gio/gappinfo.c
index f1c4f88..df0cfe0 100644
--- a/gio/gappinfo.c
+++ b/gio/gappinfo.c
@@ -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
diff --git a/gio/gicon.c b/gio/gicon.c
index 03735d6..31781f6 100644
--- a/gio/gicon.c
+++ b/gio/gicon.c
@@ -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`).
diff --git a/glib/gdatetime.c b/glib/gdatetime.c
index 1771d0f..2d20679 100644
--- a/glib/gdatetime.c
+++ b/glib/gdatetime.c
@@ -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
diff --git a/glib/gkeyfile.c b/glib/gkeyfile.c
index f9ca303..cc51eda 100644
--- a/glib/gkeyfile.c
+++ b/glib/gkeyfile.c
@@ -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,
diff --git a/glib/grand.c b/glib/grand.c
index 6b6ca98..6262cd2 100644
--- a/glib/grand.c
+++ b/glib/grand.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]