Merge lp:~vanvugt/compiz-plugins-main/fix-915236 into lp:compiz-plugins-main/0.9.5

Proposed by Daniel van Vugt
Status: Work in progress
Proposed branch: lp:~vanvugt/compiz-plugins-main/fix-915236
Merge into: lp:compiz-plugins-main/0.9.5
Diff against target: 21 lines (+3/-1)
1 file modified
animation/src/animation.cpp (+3/-1)
To merge this branch: bzr merge lp:~vanvugt/compiz-plugins-main/fix-915236
Reviewer Review Type Date Requested Status
Compiz Maintainers Pending
Review via email: mp+88328@code.launchpad.net

Description of the change

Fix failure to build with latest lp:compiz-core due to renamed/moved TIMEVALDIFF macro (now a function) (LP: #915236)

To post a comment you must log in.
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

On hold. I think this is targeting the wrong branch. Look at this proposal instead:
https://code.launchpad.net/~vanvugt/compiz-animation-plugin/fix-915236/+merge/88346

Unmerged revisions

9. By Daniel van Vugt

Fix failure to build with latest lp:compiz-core due to renamed/moved
TIMEVALDIFF macro (now a function) (LP: #915236)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'animation/src/animation.cpp'
2--- animation/src/animation.cpp 2011-08-23 13:47:23 +0000
3+++ animation/src/animation.cpp 2012-01-12 10:13:26 +0000
4@@ -86,6 +86,8 @@
5 #include <assert.h>
6 #include "private.h"
7
8+using namespace compiz::core;
9+
10 class AnimPluginVTable :
11 public CompPlugin::VTableForScreenAndWindow<AnimScreen, AnimWindow>
12 {
13@@ -1235,7 +1237,7 @@
14
15 if (mLastRedrawTimeFresh)
16 {
17- msSinceLastPaintActual = TIMEVALDIFF (&curTime, &mLastRedrawTime);
18+ msSinceLastPaintActual = timer::timeval_diff (&curTime, &mLastRedrawTime);
19 // handle clock rollback
20 if (msSinceLastPaintActual < 0)
21 msSinceLastPaintActual = 0;

Subscribers

People subscribed via source and target branches