[mutter] clutter-timeline: Fix some indentation
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter-timeline: Fix some indentation
- Date: Mon, 9 Dec 2019 17:01:10 +0000 (UTC)
commit 06fa131235ca92df0647aa16d522973f8fc68eaf
Author: Robert Mader <robert mader posteo de>
Date: Sat Dec 7 11:56:02 2019 +0100
clutter-timeline: Fix some indentation
In Gnome Builder this looks very odd, much worse than in git.
We'll probably not touch the code soon, so fix indentation
for better readability.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/965
clutter/clutter/clutter-timeline.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/clutter/clutter/clutter-timeline.c b/clutter/clutter/clutter-timeline.c
index cddbf39b5..b6f7ac666 100644
--- a/clutter/clutter/clutter-timeline.c
+++ b/clutter/clutter/clutter-timeline.c
@@ -1038,15 +1038,15 @@ clutter_timeline_do_frame (ClutterTimeline *timeline)
* to correpondingly reduce elapsed_time_delta to reflect the correct
* range of times */
if (priv->direction == CLUTTER_TIMELINE_FORWARD)
- {
- elapsed_time_delta -= (priv->elapsed_time - priv->duration);
- priv->elapsed_time = priv->duration;
- }
+ {
+ elapsed_time_delta -= (priv->elapsed_time - priv->duration);
+ priv->elapsed_time = priv->duration;
+ }
else if (priv->direction == CLUTTER_TIMELINE_BACKWARD)
- {
- elapsed_time_delta -= - priv->elapsed_time;
- priv->elapsed_time = 0;
- }
+ {
+ elapsed_time_delta -= - priv->elapsed_time;
+ priv->elapsed_time = 0;
+ }
end_msecs = priv->elapsed_time;
@@ -1756,12 +1756,12 @@ _clutter_timeline_do_tick (ClutterTimeline *timeline,
}
if (msecs != 0)
- {
- /* Avoid accumulating error */
+ {
+ /* Avoid accumulating error */
priv->last_frame_time += msecs;
- priv->msecs_delta = msecs;
- clutter_timeline_do_frame (timeline);
- }
+ priv->msecs_delta = msecs;
+ clutter_timeline_do_frame (timeline);
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]