aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-source-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-source-util.h')
-rw-r--r--e-util/e-source-util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/e-util/e-source-util.h b/e-util/e-source-util.h
index 452e91113d..e10097f38a 100644
--- a/e-util/e-source-util.h
+++ b/e-util/e-source-util.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
+
/* These functions combine asynchronous ESource and ESourceRegistry methods
* with Evolution's EActivity and EAlert facilities to offer an easy-to-use,
* "fire-and-forget" API for ESource operations. Use these in situations
@@ -28,7 +32,7 @@
#include <libedataserver/libedataserver.h>
#include <e-util/e-activity.h>
-#include <libevolution-utils/e-alert-sink.h>
+#include <e-util/e-alert-sink.h>
G_BEGIN_DECLS