aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
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 /lib/widgets
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 'lib/widgets')
-rw-r--r--lib/widgets/ephy-icon-entry.h4
-rw-r--r--lib/widgets/ephy-location-entry.h4
-rw-r--r--lib/widgets/ephy-node-view.h4
-rw-r--r--lib/widgets/ephy-search-entry.h4
-rw-r--r--lib/widgets/ephy-spinner.h4
-rw-r--r--lib/widgets/ephy-tree-model-node.h4
-rw-r--r--lib/widgets/ephy-tree-model-sort.h4
-rw-r--r--lib/widgets/ephy-zoom-action.h4
-rw-r--r--lib/widgets/ephy-zoom-control.h4
9 files changed, 36 insertions, 0 deletions
diff --git a/lib/widgets/ephy-icon-entry.h b/lib/widgets/ephy-icon-entry.h
index d51671457..5e8008b76 100644
--- a/lib/widgets/ephy-icon-entry.h
+++ b/lib/widgets/ephy-icon-entry.h
@@ -27,6 +27,10 @@
* $Id$
*/
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#ifndef EPHY_ICON_ENTRY_H
#define EPHY_ICON_ENTRY_H
diff --git a/lib/widgets/ephy-location-entry.h b/lib/widgets/ephy-location-entry.h
index de6d35e57..73b7b8498 100644
--- a/lib/widgets/ephy-location-entry.h
+++ b/lib/widgets/ephy-location-entry.h
@@ -20,6 +20,10 @@
* $Id$
*/
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#ifndef EPHY_LOCATION_ENTRY_H
#define EPHY_LOCATION_ENTRY_H
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 */
diff --git a/lib/widgets/ephy-search-entry.h b/lib/widgets/ephy-search-entry.h
index abb90cc47..72ae570bd 100644
--- a/lib/widgets/ephy-search-entry.h
+++ b/lib/widgets/ephy-search-entry.h
@@ -18,6 +18,10 @@
* $Id$
*/
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#ifndef EPHY_SEARCH_ENTRY_H
#define EPHY_SEARCH_ENTRY_H
diff --git a/lib/widgets/ephy-spinner.h b/lib/widgets/ephy-spinner.h
index 87fad63c5..d04e00d85 100644
--- a/lib/widgets/ephy-spinner.h
+++ b/lib/widgets/ephy-spinner.h
@@ -22,6 +22,10 @@
* $Id$
*/
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#ifndef EPHY_SPINNER_H
#define EPHY_SPINNER_H
diff --git a/lib/widgets/ephy-tree-model-node.h b/lib/widgets/ephy-tree-model-node.h
index 476301bef..a2567a3ef 100644
--- a/lib/widgets/ephy-tree-model-node.h
+++ b/lib/widgets/ephy-tree-model-node.h
@@ -73,4 +73,8 @@ void ephy_tree_model_node_iter_from_node (EphyTreeModelNode *mod
G_END_DECLS
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#endif /* EPHY_TREE_MODEL_NODE_H */
diff --git a/lib/widgets/ephy-tree-model-sort.h b/lib/widgets/ephy-tree-model-sort.h
index 103c36fa6..5260d9f87 100644
--- a/lib/widgets/ephy-tree-model-sort.h
+++ b/lib/widgets/ephy-tree-model-sort.h
@@ -17,6 +17,10 @@
* $Id$
*/
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#ifndef EPHY_TREE_MODEL_SORT_H
#define EPHY_TREE_MODEL_SORT_H
diff --git a/lib/widgets/ephy-zoom-action.h b/lib/widgets/ephy-zoom-action.h
index 169c1e48d..2c91c7c59 100644
--- a/lib/widgets/ephy-zoom-action.h
+++ b/lib/widgets/ephy-zoom-action.h
@@ -19,6 +19,10 @@
* $Id$
*/
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#ifndef EPHY_ZOOM_ACTION_H
#define EPHY_ZOOM_ACTION_H
diff --git a/lib/widgets/ephy-zoom-control.h b/lib/widgets/ephy-zoom-control.h
index 0b7163258..381d8a7aa 100644
--- a/lib/widgets/ephy-zoom-control.h
+++ b/lib/widgets/ephy-zoom-control.h
@@ -18,6 +18,10 @@
* $Id$
*/
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
#ifndef EPHY_ZOOM_CONTROL_H
#define EPHY_ZOOM_CONTROL_H