aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-event.h')
-rw-r--r--e-util/e-event.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/e-util/e-event.h b/e-util/e-event.h
index 0b834c879d..28caded6fe 100644
--- a/e-util/e-event.h
+++ b/e-util/e-event.h
@@ -21,6 +21,10 @@
*
*/
+#if !defined (__E_UTIL_H_INSIDE__) && !defined (LIBEUTIL_COMPILATION)
+#error "Only <e-util/e-util.h> should be included directly."
+#endif
+
/* This a bit 'whipped together', so is likely to change mid-term */
#ifndef E_EVENT_H
@@ -197,7 +201,7 @@ void e_event_target_free (EEvent *event,
/* For events, the plugin item talks to a specific instance, rather than
* a set of instances of the hook handler */
-#include "e-util/e-plugin.h"
+#include <e-util/e-plugin.h>
/* Standard GObject macros */
#define E_TYPE_EVENT_HOOK \