aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-01-11 21:40:07 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-01-11 22:34:54 +0800
commit620089c784f6e3c3dc9ee605a5f8ce08de593aa2 (patch)
tree9fc446e436366d57a9ec6749d217fe7eaf3db02a
parent9ac0364b4ceab80d3623b0fd99dc18729f36a321 (diff)
downloadgsoc2013-evolution-620089c784f6e3c3dc9ee605a5f8ce08de593aa2.tar.gz
gsoc2013-evolution-620089c784f6e3c3dc9ee605a5f8ce08de593aa2.tar.zst
gsoc2013-evolution-620089c784f6e3c3dc9ee605a5f8ce08de593aa2.zip
Add single-include barriers to a few e-util headers.
-rw-r--r--e-util/e-alert-dialog.h4
-rw-r--r--e-util/e-alert-sink.h4
-rw-r--r--e-util/e-alert.h4
-rw-r--r--e-util/e-xml-utils.h4
4 files changed, 16 insertions, 0 deletions
diff --git a/e-util/e-alert-dialog.h b/e-util/e-alert-dialog.h
index 6240f681ad..7849d54a05 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 06a2e68483..6f64c5a9c4 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 4cba32135d..5282442c1d 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 9796569774..04ca5aeb29 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__