[vte] Add deprecation guards to vtedeprecated.h



commit 122d6382534fd381ca2f964b0df9aa568da52c45
Author: Christian Persch <chpe gnome org>
Date:   Mon Apr 12 19:59:03 2010 +0200

    Add deprecation guards to vtedeprecated.h
    
    They're redunant since this file is only included in the
    !VTE_DISABLE_DEPRECATED case, but this is necessary to make the docs
    build happy.

 src/vtedeprecated.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/vtedeprecated.h b/src/vtedeprecated.h
index 7f707e8..5a01d9e 100644
--- a/src/vtedeprecated.h
+++ b/src/vtedeprecated.h
@@ -20,6 +20,8 @@
 #error "Only <vte/vte.h> can be included directly."
 #endif
 
+#ifndef VTE_DISABLE_DEPRECATED
+
 #ifndef vte_deprecated_h_included
 #define vte_deprecated_h_included
 
@@ -95,3 +97,5 @@ int vte_terminal_get_pty(VteTerminal *terminal);
 G_END_DECLS
 
 #endif /* !vte_deprecated_h_included */
+
+#endif /* !VTE_DISABLE_DEPRECATED */



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