[clutter] keysyms-update: Add deprecation guards to the deprecated header



commit 716ee65a98a2ee779a6069e4a41b0186afa29f66
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Mon Jun 11 13:46:38 2012 +0100

    keysyms-update: Add deprecation guards to the deprecated header
    
    We still need to add them in case the header is directly included.

 clutter/clutter-keysyms-update.pl |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/clutter/clutter-keysyms-update.pl b/clutter/clutter-keysyms-update.pl
index e834bbe..7c7af1e 100755
--- 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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]