vte r2069 - in trunk: . src



Author: chpe
Date: Thu Jun 26 18:32:56 2008
New Revision: 2069
URL: http://svn.gnome.org/viewvc/vte?rev=2069&view=rev

Log:
Disallow direct inclusion of vteversion.h.

Modified:
   trunk/ChangeLog
   trunk/src/vteversion.h.in

Modified: trunk/src/vteversion.h.in
==============================================================================
--- trunk/src/vteversion.h.in	(original)
+++ trunk/src/vteversion.h.in	Thu Jun 26 18:32:56 2008
@@ -16,6 +16,10 @@
  * 59 Temple Place, Suite 330, Boston, MA 02110-1301  USA
  */
 
+#if !defined (__VTE_VTE_H_INSIDE__) && !defined (VTE_COMPILATION)
+#error "Only <vte/vte.h> can be included directly."
+#endif
+
 #ifndef vte_vteversion_h_included
 #define vte_vteversion_h_included
 



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