aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-prefs.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-04-12 23:22:57 +0800
committerChristian Persch <chpe@src.gnome.org>2008-04-12 23:22:57 +0800
commitbc3acca7eed4f90a33f43b624b4a49d09a75160e (patch)
treef4d5ccc7e255f72befc74ccdb7141ada1d6cf430 /embed/ephy-embed-prefs.h
parent4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54 (diff)
downloadgsoc2013-epiphany-bc3acca7eed4f90a33f43b624b4a49d09a75160e.tar.gz
gsoc2013-epiphany-bc3acca7eed4f90a33f43b624b4a49d09a75160e.tar.zst
gsoc2013-epiphany-bc3acca7eed4f90a33f43b624b4a49d09a75160e.zip
Add epiphany.h. Only allow including epiphany.h; all other headers are private
svn path=/trunk/; revision=8211
Diffstat (limited to 'embed/ephy-embed-prefs.h')
-rw-r--r--embed/ephy-embed-prefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-embed-prefs.h b/embed/ephy-embed-prefs.h
index fce0ed04d..0222c96cb 100644
--- a/embed/ephy-embed-prefs.h
+++ b/embed/ephy-embed-prefs.h
@@ -39,4 +39,8 @@
#define CONF_RENDERING_FONT_MIN_SIZE_OLD "/apps/epiphany/web/font_min_size"
#define CONF_RENDERING_FONT_TYPE_OLD "/apps/epiphany/web/default_font_type"
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#define USER_STYLESHEET_FILENAME "user-stylesheet.css"