[gtk/wip/fanc999/gtk-3-24-meson-msvc: 79/297] RGBA: Fix example to_string output for reality/CSS
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/fanc999/gtk-3-24-meson-msvc: 79/297] RGBA: Fix example to_string output for reality/CSS
- Date: Wed, 13 Mar 2019 09:20:15 +0000 (UTC)
commit 17ef7a72045702b2809c8868f61bd2b6e722317e
Author: Daniel Boles <dboles src gmail com>
Date: Mon Dec 17 19:57:09 2018 +0000
RGBA: Fix example to_string output for reality/CSS
* We don't output spaces anywhere in the code, unlike the doc suggested.
* CSS explicitly forbids whitespace between function names and lparens:
https://stackoverflow.com/questions/13877198
gdk/gdkrgba.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdkrgba.c b/gdk/gdkrgba.c
index da3f3381b7..df71787c18 100644
--- a/gdk/gdkrgba.c
+++ b/gdk/gdkrgba.c
@@ -333,8 +333,8 @@ gdk_rgba_equal (gconstpointer p1,
* @rgba: a #GdkRGBA
*
* Returns a textual specification of @rgba in the form
- * `rgb (r, g, b)` or
- * `rgba (r, g, b, a)`,
+ * `rgb(r,g,b)` or
+ * `rgba(r g,b,a)`,
* where “r”, “g”, “b” and “a” represent the red, green,
* blue and alpha values respectively. r, g, and b are
* represented as integers in the range 0 to 255, and a
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]