Merge lp://qastaging/~compiz-team/compiz/compiz.animation-cleanup-04092012 into lp://qastaging/compiz/0.9.8
Proposed by
Sam Spilsbury
Status: | Merged |
---|---|
Approved by: | Sam Spilsbury |
Approved revision: | 3337 |
Merged at revision: | 3345 |
Proposed branch: | lp://qastaging/~compiz-team/compiz/compiz.animation-cleanup-04092012 |
Merge into: | lp://qastaging/compiz/0.9.8 |
Diff against target: |
176 lines (+23/-21) 3 files modified
plugins/animation/include/animation/animation.h (+2/-2) plugins/animation/src/animation.cpp (+14/-14) plugins/animation/src/options.cpp (+7/-5) |
To merge this branch: | bzr merge lp://qastaging/~compiz-team/compiz/compiz.animation-cleanup-04092012 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
jenkins (community) | continuous-integration | Approve | |
Daniel van Vugt | Approve | ||
Review via email:
|
Commit message
Move statements to do with unminimize closer to their minimize counterparts,
express a function better by using constants rather than a compound statement.
Description of the change
Move statements to do with unminimize closer to their minimize counterparts, express a function better by using constants rather than a compound statement.
To post a comment you must log in.
Missed two spots I can see:
const char *eventNames[ AnimEventNum] =
^^^ ^^^^^^^ ^^
{"Open", "Close", "Minimize", "Shade", "Unminimize", "Focus"};
int customOptionOpt ionIds[ AnimEventNum] = tions:: OpenOptions, tions:: CloseOptions, tions:: MinimizeOptions , tions:: ShadeOptions, tions:: UnminimizeOptio ns, <--------- tions:: FocusOptions
{
AnimationOp
AnimationOp
AnimationOp
AnimationOp
AnimationOp
AnimationOp
};