[evolution] Add single-include barriers to a few e-util headers.



commit 620089c784f6e3c3dc9ee605a5f8ce08de593aa2
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Jan 11 08:40:07 2013 -0500

    Add single-include barriers to a few e-util headers.

 e-util/e-alert-dialog.h |    4 ++++
 e-util/e-alert-sink.h   |    4 ++++
 e-util/e-alert.h        |    4 ++++
 e-util/e-xml-utils.h    |    4 ++++
 4 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-alert-dialog.h b/e-util/e-alert-dialog.h
index 6240f68..7849d54 100644
--- a/e-util/e-alert-dialog.h
+++ b/e-util/e-alert-dialog.h
@@ -21,6 +21,10 @@
  * Copyright (C) 2009 Intel Corporation
  */
 
+#if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
+#error "Only <e-util/e-util.h> should be included directly."
+#endif
+
 #ifndef E_ALERT_DIALOG_H
 #define E_ALERT_DIALOG_H
 
diff --git a/e-util/e-alert-sink.h b/e-util/e-alert-sink.h
index 06a2e68..6f64c5a 100644
--- a/e-util/e-alert-sink.h
+++ b/e-util/e-alert-sink.h
@@ -16,6 +16,10 @@
  *
  */
 
+#if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
+#error "Only <e-util/e-util.h> should be included directly."
+#endif
+
 #ifndef E_ALERT_SINK_H
 #define E_ALERT_SINK_H
 
diff --git a/e-util/e-alert.h b/e-util/e-alert.h
index 4cba321..5282442 100644
--- a/e-util/e-alert.h
+++ b/e-util/e-alert.h
@@ -22,6 +22,10 @@
  *
  */
 
+#if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
+#error "Only <e-util/e-util.h> should be included directly."
+#endif
+
 #ifndef E_ALERT_H
 #define E_ALERT_H
 
diff --git a/e-util/e-xml-utils.h b/e-util/e-xml-utils.h
index 9796569..04ca5ae 100644
--- a/e-util/e-xml-utils.h
+++ b/e-util/e-xml-utils.h
@@ -20,6 +20,10 @@
  *
  */
 
+#if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
+#error "Only <e-util/e-util.h> should be included directly."
+#endif
+
 #ifndef __E_XML_UTILS__
 #define __E_XML_UTILS__
 



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