[gtk+] Trivial changes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Trivial changes
- Date: Wed, 23 Dec 2015 03:35:27 +0000 (UTC)
commit 6b497bcf8135541f4ec61e6e72708839dbd3c251
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 22 21:19:11 2015 -0500
Trivial changes
gtk/gtkcssshorthandpropertyimpl.c | 21 ++++++++++++++-------
1 files changed, 14 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c
index 2d1ac25..4e5495f 100644
--- a/gtk/gtkcssshorthandpropertyimpl.c
+++ b/gtk/gtkcssshorthandpropertyimpl.c
@@ -156,7 +156,8 @@ parse_border_radius (GtkCssShorthandProperty *shorthand,
}
/* The magic (i - 1) >> 1 below makes it take the correct value
- * according to spec. Feel free to check the 4 cases */
+ * according to spec. Feel free to check the 4 cases
+ */
for (; i < 4; i++)
x[i] = _gtk_css_value_ref (x[(i - 1) >> 1]);
@@ -316,7 +317,8 @@ parse_border_image (GtkCssShorthandProperty *shorthand,
{
/* We parsed everything and there's still stuff left?
* Pretend we didn't notice and let the normal code produce
- * a 'junk at end of value' error */
+ * a 'junk at end of value' error
+ */
break;
}
}
@@ -357,7 +359,8 @@ parse_border_side (GtkCssShorthandProperty *shorthand,
{
/* We parsed and there's still stuff left?
* Pretend we didn't notice and let the normal code produce
- * a 'junk at end of value' error */
+ * a 'junk at end of value' error
+ */
break;
}
}
@@ -407,14 +410,16 @@ parse_border (GtkCssShorthandProperty *shorthand,
{
/* We parsed everything and there's still stuff left?
* Pretend we didn't notice and let the normal code produce
- * a 'junk at end of value' error */
+ * a 'junk at end of value' error
+ */
break;
}
}
while (!value_is_done_parsing (parser));
/* Note that border-image values are not set: according to the spec
- they just need to be reset when using the border shorthand */
+ * they just need to be reset when using the border shorthand
+ */
return TRUE;
}
@@ -540,7 +545,8 @@ parse_one_background (GtkCssShorthandProperty *shorthand,
{
/* We parsed everything and there's still stuff left?
* Pretend we didn't notice and let the normal code produce
- * a 'junk at end of value' error */
+ * a 'junk at end of value' error
+ */
break;
}
}
@@ -648,7 +654,8 @@ parse_one_transition (GtkCssShorthandProperty *shorthand,
{
/* We parsed everything and there's still stuff left?
* Pretend we didn't notice and let the normal code produce
- * a 'junk at end of value' error */
+ * a 'junk at end of value' error
+ */
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]