aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-node-view.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/ephy-node-view.h')
-rw-r--r--lib/widgets/ephy-node-view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/widgets/ephy-node-view.h b/lib/widgets/ephy-node-view.h
index 1d27a5e19..5a5453890 100644
--- a/lib/widgets/ephy-node-view.h
+++ b/lib/widgets/ephy-node-view.h
@@ -133,4 +133,8 @@ void ephy_node_view_popup (EphyNodeView *view,
G_END_DECLS
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#endif /* EPHY_NODE_VIEW_H */