summaryrefslogtreecommitdiff
path: root/gtk/gtkcssshorthandpropertyimpl.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-22 21:19:11 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-22 22:29:22 -0500
commit6b497bcf8135541f4ec61e6e72708839dbd3c251 (patch)
tree47af0f139dba10110356726b20f48bbedebf9d86 /gtk/gtkcssshorthandpropertyimpl.c
parentefb8e5bd434d5bf0fb77867510a5674ee983838c (diff)
downloadgtk+-6b497bcf8135541f4ec61e6e72708839dbd3c251.tar.gz
Trivial changes
Diffstat (limited to 'gtk/gtkcssshorthandpropertyimpl.c')
-rw-r--r--gtk/gtkcssshorthandpropertyimpl.c21
1 files changed, 14 insertions, 7 deletions
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c
index 2d1ac2558b..4e5495fca9 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;
}
}