2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-frame-source.c: Small coding style fixes.
This commit is contained in:
Emmanuele Bassi 2008-04-17 20:53:37 +00:00
parent af562ad59a
commit 816aa93135
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2008-04-17 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-frame-source.c: Small coding style fixes.
2008-04-17 Neil Roberts <neil@o-hand.com> 2008-04-17 Neil Roberts <neil@o-hand.com>
Applied patch from bug #881 Applied patch from bug #881

View File

@ -111,8 +111,8 @@ clutter_frame_source_prepare (GSource *source, gint *timeout)
/* If time has gone backwards or the time since the last frame is /* If time has gone backwards or the time since the last frame is
greater than the two frames worth then reset the time and do a greater than the two frames worth then reset the time and do a
frame now */ frame now */
if (frame_source->last_time > now || now - frame_source->last_time if (frame_source->last_time > now ||
> frame_source->frame_time * 2) (now - frame_source->last_time) > frame_source->frame_time * 2)
{ {
frame_source->last_time = now - frame_source->frame_time; frame_source->last_time = now - frame_source->frame_time;
if (timeout) if (timeout)