[gtk+] Reinstate old-style deprecation guards for wholly-deprecated files



commit a1de67f438f057711353a55b322babce7044226f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 3 15:51:05 2013 -0500

    Reinstate old-style deprecation guards for wholly-deprecated files

 gtk/gtk.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtk.h b/gtk/gtk.h
index fbc06a3..e95494f 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -224,6 +224,7 @@
 #include <gtk/gtkwidgetpath.h>
 #include <gtk/gtkwindow.h>
 
+#ifndef GTK_DISABLE_DEPRECATED
 #include <gtk/deprecated/gtkcolorsel.h>
 #include <gtk/deprecated/gtkcolorseldialog.h>
 #include <gtk/deprecated/gtkfontsel.h>
@@ -247,6 +248,7 @@
 #include <gtk/deprecated/gtkvscale.h>
 #include <gtk/deprecated/gtkvscrollbar.h>
 #include <gtk/deprecated/gtkvseparator.h>
+#endif /* GTK_DISABLE_DEPRECATED */
 
 #undef __GTK_H_INSIDE__
 



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