projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6d169f
)
keysyms-update: Add deprecation guards to the deprecated header
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Mon, 11 Jun 2012 12:46:38 +0000
(13:46 +0100)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Mon, 11 Jun 2012 12:46:38 +0000
(13:46 +0100)
We still need to add them in case the header is directly included.
clutter/clutter-keysyms-update.pl
patch
|
blob
|
history
diff --git
a/clutter/clutter-keysyms-update.pl
b/clutter/clutter-keysyms-update.pl
index
e834bbe
..
7c7af1e
100755
(executable)
--- a/
clutter/clutter-keysyms-update.pl
+++ b/
clutter/clutter-keysyms-update.pl
@@
-117,6
+117,8
@@
print OUT_KEYSYMS_COMPAT<<EOF;
#ifndef __CLUTTER_KEYSYMS_DEPRECATED_H__
#define __CLUTTER_KEYSYMS_DEPRECATED_H__
+#ifndef CLUTTER_DISABLE_DEPRECATED
+
EOF
while (<IN_KEYSYMDEF>)
@@
-200,6
+202,8
@@
EOF
print OUT_KEYSYMS_COMPAT<<EOF;
+#endif /* CLUTTER_DISABLE_DEPRECATED */
+
#endif /* __CLUTTER_KEYSYMS_DEPRECATED_H__ */
EOF