Merge lp:~alan-griffiths/compiz-core/remove-backward-compatibility-hacks into lp:compiz-core/0.9.8

Proposed by Alan Griffiths
Status: Merged
Merged at revision: 3138
Proposed branch: lp:~alan-griffiths/compiz-core/remove-backward-compatibility-hacks
Merge into: lp:compiz-core/0.9.8
Diff against target: 25 lines (+0/-8)
1 file modified
include/core/wrapsystem.h (+0/-8)
To merge this branch: bzr merge lp:~alan-griffiths/compiz-core/remove-backward-compatibility-hacks
Reviewer Review Type Date Requested Status
Daniel van Vugt Approve
Review via email: mp+105777@code.launchpad.net

Description of the change

Remove backward compatibility hacks.

Drop a couple of temporary macros used to keep legacy code compiling during transition to new implementation technique.

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

Works with core and plugins-main at least.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'include/core/wrapsystem.h'
2--- include/core/wrapsystem.h 2012-01-16 09:50:28 +0000
3+++ include/core/wrapsystem.h 2012-05-15 08:48:20 +0000
4@@ -52,10 +52,6 @@
5 } \
6 enum { func ## Index = num };
7
8-// For compatability ignore num and forward
9-#define WRAPABLE_HND_FUNC(num, func, ...) \
10- WRAPABLE_HND_FUNCTN(func, __VA_ARGS__)
11-
12 // New macro that doesn't need magic number
13 #define WRAPABLE_HND_FUNCTN(func, ...) \
14 { \
15@@ -73,10 +69,6 @@
16 mCurrFunction[num] = curr; \
17 }
18
19-// For compatability ignore num and forward
20-#define WRAPABLE_HND_FUNC_RETURN(num, rtype, func, ...) \
21- WRAPABLE_HND_FUNCTN_RETURN(rtype, func, __VA_ARGS__)
22-
23 // New macro that doesn't need magic number
24 #define WRAPABLE_HND_FUNCTN_RETURN(rtype, func, ...) \
25 { \

Subscribers

People subscribed via source and target branches