epiphany r8211 - in trunk: . doc/reference doc/reference/tmpl embed embed/webkit lib lib/egg lib/widgets



Author: chpe
Date: Sat Apr 12 16:22:57 2008
New Revision: 8211
URL: http://svn.gnome.org/viewvc/epiphany?rev=8211&view=rev

Log:
Add epiphany.h. Only allow including epiphany.h; all other headers are private

Modified:
   trunk/configure.ac
   trunk/doc/reference/Makefile.am
   trunk/doc/reference/tmpl/EphyContentPolicy.sgml
   trunk/doc/reference/tmpl/ephy-embed.sgml
   trunk/doc/reference/tmpl/epiphany-unused.sgml
   trunk/embed/Makefile.am
   trunk/embed/ephy-adblock-manager.h
   trunk/embed/ephy-adblock.h
   trunk/embed/ephy-base-embed.h
   trunk/embed/ephy-command-manager.h
   trunk/embed/ephy-cookie-manager.h
   trunk/embed/ephy-download.h
   trunk/embed/ephy-embed-container.h
   trunk/embed/ephy-embed-dialog.h
   trunk/embed/ephy-embed-event.h
   trunk/embed/ephy-embed-factory.h
   trunk/embed/ephy-embed-find.h
   trunk/embed/ephy-embed-persist.h
   trunk/embed/ephy-embed-prefs.h
   trunk/embed/ephy-embed-shell.h
   trunk/embed/ephy-embed-single.h
   trunk/embed/ephy-embed-utils.h
   trunk/embed/ephy-embed.h
   trunk/embed/ephy-encodings.h
   trunk/embed/ephy-favicon-cache.h
   trunk/embed/ephy-history-item.h
   trunk/embed/ephy-history.h
   trunk/embed/ephy-password-manager.h
   trunk/embed/ephy-permission-manager.h
   trunk/embed/webkit/webkit-embed-persist.c
   trunk/embed/webkit/webkit-embed-prefs.c
   trunk/lib/Makefile.am
   trunk/lib/egg/Makefile.am
   trunk/lib/ephy-debug.h
   trunk/lib/ephy-dialog.h
   trunk/lib/ephy-dnd.h
   trunk/lib/ephy-file-chooser.h
   trunk/lib/ephy-file-helpers.h
   trunk/lib/ephy-glib-compat.h
   trunk/lib/ephy-gui.h
   trunk/lib/ephy-langs.h
   trunk/lib/ephy-loader.h
   trunk/lib/ephy-module.h
   trunk/lib/ephy-node-common.h
   trunk/lib/ephy-node-db.h
   trunk/lib/ephy-node-filter.h
   trunk/lib/ephy-node.h
   trunk/lib/ephy-object-helpers.h
   trunk/lib/ephy-password-dialog.h
   trunk/lib/ephy-prefs.h
   trunk/lib/ephy-print-utils.h
   trunk/lib/ephy-shlib-loader.h
   trunk/lib/ephy-signal-accumulator.h
   trunk/lib/ephy-spell-check.h
   trunk/lib/ephy-state.h
   trunk/lib/ephy-stock-icons.h
   trunk/lib/ephy-string.h
   trunk/lib/ephy-time-helpers.h
   trunk/lib/ephy-zoom.h
   trunk/lib/widgets/ephy-icon-entry.h
   trunk/lib/widgets/ephy-location-entry.h
   trunk/lib/widgets/ephy-node-view.h
   trunk/lib/widgets/ephy-search-entry.h
   trunk/lib/widgets/ephy-spinner.h
   trunk/lib/widgets/ephy-tree-model-node.h
   trunk/lib/widgets/ephy-tree-model-sort.h
   trunk/lib/widgets/ephy-zoom-action.h
   trunk/lib/widgets/ephy-zoom-control.h

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Sat Apr 12 16:22:57 2008
@@ -530,6 +530,8 @@
 # Output files
 # ************
 
+AC_DEFINE([EPIPHANY_COMPILATION],[1],[Compiling epiphany])
+
 AC_CONFIG_FILES([
 Makefile
 data/Makefile
@@ -549,7 +551,7 @@
 embed/webkit/Makefile
 src/Makefile
 src/bookmarks/Makefile
-src/ephy-version.h
+src/epiphany.h
 help/Makefile
 po/Makefile.in
 ],

Modified: trunk/doc/reference/Makefile.am
==============================================================================
--- trunk/doc/reference/Makefile.am	(original)
+++ trunk/doc/reference/Makefile.am	Sat Apr 12 16:22:57 2008
@@ -119,7 +119,8 @@
 
 # CFLAGS and LDFLAGS for compiling scan program. Only needed
 # if $(DOC_MODULE).types is non-empty.
-GTKDOC_CFLAGS = -I$(top_srcdir)/src \
+GTKDOC_CFLAGS = -DEPIPHANY_COMPILATION \
+		-I$(top_srcdir)/src \
 		-I$(top_srcdir)/lib \
 		-I$(top_builddir)/lib \
 		-I$(top_srcdir)/lib/widgets \
@@ -144,6 +145,7 @@
 	$(top_builddir)/lib/libephymisc.la \
 	$(top_builddir)/lib/egg/libegg.la \
         $(DEPENDENCIES_LIBS) \
+        $(WEBKIT_LIBS) \
 	$(DBUS_LIBS) \
 	$(LIBINTL)
 

Modified: trunk/doc/reference/tmpl/EphyContentPolicy.sgml
==============================================================================
--- trunk/doc/reference/tmpl/EphyContentPolicy.sgml	(original)
+++ trunk/doc/reference/tmpl/EphyContentPolicy.sgml	Sat Apr 12 16:22:57 2008
@@ -17,24 +17,3 @@
 <!-- ##### SECTION Stability_Level ##### -->
 
 
-<!-- ##### MACRO EPHY_CONTENT_POLICY_CONTRACTID ##### -->
-<para>
-
-</para>
-
-
-
-<!-- ##### MACRO EPHY_CONTENT_POLICY_CLASSNAME ##### -->
-<para>
-
-</para>
-
-
-
-<!-- ##### MACRO EPHY_CONTENT_POLICY_CID ##### -->
-<para>
-
-</para>
-
-
-

Modified: trunk/doc/reference/tmpl/ephy-embed.sgml
==============================================================================
--- trunk/doc/reference/tmpl/ephy-embed.sgml	(original)
+++ trunk/doc/reference/tmpl/ephy-embed.sgml	Sat Apr 12 16:22:57 2008
@@ -263,7 +263,6 @@
 @: 
 @: 
 @: 
-@: 
 @:
 @Param2: 
 

Modified: trunk/doc/reference/tmpl/epiphany-unused.sgml
==============================================================================
--- trunk/doc/reference/tmpl/epiphany-unused.sgml	(original)
+++ trunk/doc/reference/tmpl/epiphany-unused.sgml	Sat Apr 12 16:22:57 2008
@@ -1,3 +1,27 @@
+<!-- ##### SECTION ./tmpl/EphySingle.sgml:Long_Description ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION ./tmpl/EphySingle.sgml:See_Also ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### SECTION ./tmpl/EphySingle.sgml:Short_Description ##### -->
+
+
+
+<!-- ##### SECTION ./tmpl/EphySingle.sgml:Stability_Level ##### -->
+
+
+
+<!-- ##### SECTION ./tmpl/EphySingle.sgml:Title ##### -->
+EphySingle
+
+
 <!-- ##### SECTION ./tmpl/ephy-tab.sgml:Long_Description ##### -->
 <para>
 Each #EphyWindow contains a #GtkNotebook which holds one or more #EphyTab:s.
@@ -50,6 +74,31 @@
 mozilla-embed-event
 
 
+<!-- ##### FUNCTION Detach ##### -->
+<para>
+
+</para>
+
+ Returns: 
+
+<!-- ##### MACRO EPHY_CONTENT_POLICY_CID ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### MACRO EPHY_CONTENT_POLICY_CLASSNAME ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### MACRO EPHY_CONTENT_POLICY_CONTRACTID ##### -->
+<para>
+
+</para>
+
+
 <!-- ##### MACRO EPHY_EMBED_SINGLE_IFACE ##### -->
 <para>
 
@@ -156,6 +205,15 @@
 @aSubject: 
 @Returns: 
 
+<!-- ##### FUNCTION EmitPermissionNotification ##### -->
+<para>
+
+</para>
+
+ name: 
+ aSubject: 
+ Returns: 
+
 <!-- ##### ENUM EphyCookieP3PPolicy ##### -->
 <para>
 
@@ -428,6 +486,14 @@
 </para>
 
 
+<!-- ##### FUNCTION Init ##### -->
+<para>
+
+</para>
+
+ aHistory: 
+ Returns: 
+
 <!-- ##### FUNCTION ephy_embed_activate ##### -->
 <para>
 
@@ -869,6 +935,14 @@
 @window: 
 @enabled: 
 
+<!-- ##### FUNCTION mozilla_cookie_to_ephy_cookie ##### -->
+<para>
+
+</para>
+
+ cookie: 
+ Returns: 
+
 <!-- ##### FUNCTION mozilla_embed_event_new ##### -->
 <para>
 
@@ -886,3 +960,11 @@
 @name: 
 @value: 
 
+<!-- ##### FUNCTION mozilla_permission_to_ephy_permission ##### -->
+<para>
+
+</para>
+
+ perm: 
+ Returns: 
+

Modified: trunk/embed/Makefile.am
==============================================================================
--- trunk/embed/Makefile.am	(original)
+++ trunk/embed/Makefile.am	Sat Apr 12 16:22:57 2008
@@ -107,6 +107,7 @@
 	@true
 stamp-ephy-embed-type-builtins.c: Makefile $(INST_H_FILES)
 	$(GLIB_MKENUMS) \
+		--fhead "#include <config.h>\n\n" \
 		--fhead "#include \"ephy-embed-type-builtins.h\"\n\n" \
 		--fprod "\n/* enumerations from \"@filename \" */" \
 		--fprod "\n#include \"@filename \"" \
@@ -127,6 +128,9 @@
 	@true
 stamp-ephy-embed-type-builtins.h: Makefile $(INST_H_FILES)
 	$(GLIB_MKENUMS) \
+		--fhead "#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)\n" \
+		--fhead "#error Only <epiphany/epiphany.h> can be included directly.\n" \
+		--fhead "#endif\n\n" \
 		--fhead "#ifndef EPHY_EMBED_TYPE_BUILTINS_H\n" \
 		--fhead "#define EPHY_EMBED_TYPE_BUILTINS_H 1\n\n" \
 		--fhead "#include <glib-object.h>\n\n" \

Modified: trunk/embed/ephy-adblock-manager.h
==============================================================================
--- trunk/embed/ephy-adblock-manager.h	(original)
+++ trunk/embed/ephy-adblock-manager.h	Sat Apr 12 16:22:57 2008
@@ -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_ADBLOCK_MANAGER_H
 #define EPHY_ADBLOCK_MANAGER_H
 

Modified: trunk/embed/ephy-adblock.h
==============================================================================
--- trunk/embed/ephy-adblock.h	(original)
+++ trunk/embed/ephy-adblock.h	Sat Apr 12 16:22:57 2008
@@ -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_ADBLOCK_H
 #define EPHY_ADBLOCK_H
 

Modified: trunk/embed/ephy-base-embed.h
==============================================================================
--- trunk/embed/ephy-base-embed.h	(original)
+++ trunk/embed/ephy-base-embed.h	Sat Apr 12 16:22:57 2008
@@ -81,4 +81,8 @@
 
 G_END_DECLS
 
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
 #endif /* __EPHY_BASE_EMBED_H__ */

Modified: trunk/embed/ephy-command-manager.h
==============================================================================
--- trunk/embed/ephy-command-manager.h	(original)
+++ trunk/embed/ephy-command-manager.h	Sat Apr 12 16:22:57 2008
@@ -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_COMMAND_MANAGER_H
 #define EPHY_COMMAND_MANAGER_H
 

Modified: trunk/embed/ephy-cookie-manager.h
==============================================================================
--- trunk/embed/ephy-cookie-manager.h	(original)
+++ trunk/embed/ephy-cookie-manager.h	Sat Apr 12 16:22:57 2008
@@ -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_COOKIE_MANAGER_H
 #define EPHY_COOKIE_MANAGER_H
 

Modified: trunk/embed/ephy-download.h
==============================================================================
--- trunk/embed/ephy-download.h	(original)
+++ trunk/embed/ephy-download.h	Sat Apr 12 16:22:57 2008
@@ -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_DOWNLOAD_H
 #define EPHY_DOWNLOAD_H
 

Modified: trunk/embed/ephy-embed-container.h
==============================================================================
--- trunk/embed/ephy-embed-container.h	(original)
+++ trunk/embed/ephy-embed-container.h	Sat Apr 12 16:22:57 2008
@@ -17,6 +17,10 @@
  *
  */
 
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
 #ifndef EPHY_EMBED_CONTAINER_H
 #define EPHY_EMBED_CONTAINER_H
 

Modified: trunk/embed/ephy-embed-dialog.h
==============================================================================
--- trunk/embed/ephy-embed-dialog.h	(original)
+++ trunk/embed/ephy-embed-dialog.h	Sat Apr 12 16:22:57 2008
@@ -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_EMBED_DIALOG_H
 #define EPHY_EMBED_DIALOG_H
 

Modified: trunk/embed/ephy-embed-event.h
==============================================================================
--- trunk/embed/ephy-embed-event.h	(original)
+++ trunk/embed/ephy-embed-event.h	Sat Apr 12 16:22:57 2008
@@ -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_EMBED_EVENT_H
 #define EPHY_EMBED_EVENT_H
 

Modified: trunk/embed/ephy-embed-factory.h
==============================================================================
--- trunk/embed/ephy-embed-factory.h	(original)
+++ trunk/embed/ephy-embed-factory.h	Sat Apr 12 16:22:57 2008
@@ -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_EMBED_FACTORY_H
 #define EPHY_EMBED_FACTORY_H
 

Modified: trunk/embed/ephy-embed-find.h
==============================================================================
--- trunk/embed/ephy-embed-find.h	(original)
+++ trunk/embed/ephy-embed-find.h	Sat Apr 12 16:22:57 2008
@@ -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_EMBED_FIND_H
 #define EPHY_EMBED_FIND_H
 

Modified: trunk/embed/ephy-embed-persist.h
==============================================================================
--- trunk/embed/ephy-embed-persist.h	(original)
+++ trunk/embed/ephy-embed-persist.h	Sat Apr 12 16:22:57 2008
@@ -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_EMBED_PERSIST_H
 #define EPHY_EMBED_PERSIST_H
 

Modified: trunk/embed/ephy-embed-prefs.h
==============================================================================
--- trunk/embed/ephy-embed-prefs.h	(original)
+++ trunk/embed/ephy-embed-prefs.h	Sat Apr 12 16:22:57 2008
@@ -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"

Modified: trunk/embed/ephy-embed-shell.h
==============================================================================
--- trunk/embed/ephy-embed-shell.h	(original)
+++ trunk/embed/ephy-embed-shell.h	Sat Apr 12 16:22:57 2008
@@ -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_EMBED_SHELL_H
 #define EPHY_EMBED_SHELL_H
 

Modified: trunk/embed/ephy-embed-single.h
==============================================================================
--- trunk/embed/ephy-embed-single.h	(original)
+++ trunk/embed/ephy-embed-single.h	Sat Apr 12 16:22:57 2008
@@ -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_EMBED_SINGLE_H
 #define EPHY_EMBED_SINGLE_H
 

Modified: trunk/embed/ephy-embed-utils.h
==============================================================================
--- trunk/embed/ephy-embed-utils.h	(original)
+++ trunk/embed/ephy-embed-utils.h	Sat Apr 12 16:22:57 2008
@@ -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_EMBED_UTILS_H
 #define EPHY_EMBED_UTILS_H
 

Modified: trunk/embed/ephy-embed.h
==============================================================================
--- trunk/embed/ephy-embed.h	(original)
+++ trunk/embed/ephy-embed.h	Sat Apr 12 16:22:57 2008
@@ -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_EMBED_H
 #define EPHY_EMBED_H
 

Modified: trunk/embed/ephy-encodings.h
==============================================================================
--- trunk/embed/ephy-encodings.h	(original)
+++ trunk/embed/ephy-encodings.h	Sat Apr 12 16:22:57 2008
@@ -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_ENCODINGS_H
 #define EPHY_ENCODINGS_H
 

Modified: trunk/embed/ephy-favicon-cache.h
==============================================================================
--- trunk/embed/ephy-favicon-cache.h	(original)
+++ trunk/embed/ephy-favicon-cache.h	Sat Apr 12 16:22:57 2008
@@ -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_FAVICON_CACHE_H
 #define EPHY_FAVICON_CACHE_H
 

Modified: trunk/embed/ephy-history-item.h
==============================================================================
--- trunk/embed/ephy-history-item.h	(original)
+++ trunk/embed/ephy-history-item.h	Sat Apr 12 16:22:57 2008
@@ -50,4 +50,8 @@
 
 G_END_DECLS
 
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
 #endif /* __EPHY_HISTORY_ITEM_H__ */

Modified: trunk/embed/ephy-history.h
==============================================================================
--- trunk/embed/ephy-history.h	(original)
+++ trunk/embed/ephy-history.h	Sat Apr 12 16:22:57 2008
@@ -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_HISTORY_H
 #define EPHY_HISTORY_H
 

Modified: trunk/embed/ephy-password-manager.h
==============================================================================
--- trunk/embed/ephy-password-manager.h	(original)
+++ trunk/embed/ephy-password-manager.h	Sat Apr 12 16:22:57 2008
@@ -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_PASSWORD_MANAGER_H
 #define EPHY_PASSWORD_MANAGER_H
 

Modified: trunk/embed/ephy-permission-manager.h
==============================================================================
--- trunk/embed/ephy-permission-manager.h	(original)
+++ trunk/embed/ephy-permission-manager.h	Sat Apr 12 16:22:57 2008
@@ -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_PERMISSION_MANAGER_H
 #define EPHY_PERMISSION_MANAGER_H
 

Modified: trunk/embed/webkit/webkit-embed-persist.c
==============================================================================
--- trunk/embed/webkit/webkit-embed-persist.c	(original)
+++ trunk/embed/webkit/webkit-embed-persist.c	Sat Apr 12 16:22:57 2008
@@ -18,6 +18,8 @@
  *
  */
 
+#include <config.h>
+
 #include "webkit-embed-persist.h"
 
 static void     webkit_embed_persist_class_init (WebKitEmbedPersistClass *klass);

Modified: trunk/embed/webkit/webkit-embed-prefs.c
==============================================================================
--- trunk/embed/webkit/webkit-embed-prefs.c	(original)
+++ trunk/embed/webkit/webkit-embed-prefs.c	Sat Apr 12 16:22:57 2008
@@ -17,6 +17,8 @@
  *
  */
 
+#include <config.h>
+
 #include <glib.h>
 #include <webkit/webkit.h>
 

Modified: trunk/lib/Makefile.am
==============================================================================
--- trunk/lib/Makefile.am	(original)
+++ trunk/lib/Makefile.am	Sat Apr 12 16:22:57 2008
@@ -133,6 +133,7 @@
 	@true
 stamp-ephy-lib-type-builtins.c: Makefile $(TYPES_H_FILES)
 	$(GLIB_MKENUMS) \
+		--fhead "#include <config.h>\n\n" \
 		--fhead "#include \"ephy-lib-type-builtins.h\"\n\n" \
 		--fprod "\n/* enumerations from \"@filename \" */" \
 		--fprod "\n#include \"@filename \"" \
@@ -153,6 +154,9 @@
 	@true
 stamp-ephy-lib-type-builtins.h: Makefile $(TYPES_H_FILES)
 	$(GLIB_MKENUMS) \
+		--fhead "#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)\n" \
+		--fhead "#error Only <epiphany/epiphany.h> can be included directly.\n" \
+		--fhead "#endif\n\n" \
 		--fhead "#ifndef EPHY_LIB_TYPE_BUILTINS_H\n" \
 		--fhead "#define EPHY_LIB_TYPE_BUILTINS_H 1\n\n" \
 		--fhead "#include <glib-object.h>\n\n" \

Modified: trunk/lib/egg/Makefile.am
==============================================================================
--- trunk/lib/egg/Makefile.am	(original)
+++ trunk/lib/egg/Makefile.am	Sat Apr 12 16:22:57 2008
@@ -62,6 +62,7 @@
 	@true
 stamp-eggtypebuiltins.c: Makefile $(EGGHEADERS)
 	$(GLIB_MKENUMS) \
+		--fhead "#include <config.h>\n\n" \
 		--fhead "#include \"eggtypebuiltins.h\"\n\n" \
 		--fprod "\n/* enumerations from \"@filename \" */" \
 		--fprod "\n#include \"@filename \"" \

Modified: trunk/lib/ephy-debug.h
==============================================================================
--- trunk/lib/ephy-debug.h	(original)
+++ trunk/lib/ephy-debug.h	Sat Apr 12 16:22:57 2008
@@ -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_DEBUG_H
 #define EPHY_DEBUG_H
 

Modified: trunk/lib/ephy-dialog.h
==============================================================================
--- trunk/lib/ephy-dialog.h	(original)
+++ trunk/lib/ephy-dialog.h	Sat Apr 12 16:22:57 2008
@@ -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_DIALOG_H
 #define EPHY_DIALOG_H
 

Modified: trunk/lib/ephy-dnd.h
==============================================================================
--- trunk/lib/ephy-dnd.h	(original)
+++ trunk/lib/ephy-dnd.h	Sat Apr 12 16:22:57 2008
@@ -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_DND_H
 #define EPHY_DND_H
 

Modified: trunk/lib/ephy-file-chooser.h
==============================================================================
--- trunk/lib/ephy-file-chooser.h	(original)
+++ trunk/lib/ephy-file-chooser.h	Sat Apr 12 16:22:57 2008
@@ -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_FILE_CHOOSER_H
 #define EPHY_FILE_CHOOSER_H
 

Modified: trunk/lib/ephy-file-helpers.h
==============================================================================
--- trunk/lib/ephy-file-helpers.h	(original)
+++ trunk/lib/ephy-file-helpers.h	Sat Apr 12 16:22:57 2008
@@ -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_FILE_HELPERS_H
 #define EPHY_FILE_HELPERS_H
 

Modified: trunk/lib/ephy-glib-compat.h
==============================================================================
--- trunk/lib/ephy-glib-compat.h	(original)
+++ trunk/lib/ephy-glib-compat.h	Sat Apr 12 16:22:57 2008
@@ -18,6 +18,10 @@
  *  $Id: ephy-node-db.h 6588 2006-09-13 11:34:25Z chpe $
  */
 
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
 #ifndef EPHY_GLIB_COMPAT_H
 #define EPHY_GLIB_COMPAT_H
 

Modified: trunk/lib/ephy-gui.h
==============================================================================
--- trunk/lib/ephy-gui.h	(original)
+++ trunk/lib/ephy-gui.h	Sat Apr 12 16:22:57 2008
@@ -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_GUI_H
 #define EPHY_GUI_H
 

Modified: trunk/lib/ephy-langs.h
==============================================================================
--- trunk/lib/ephy-langs.h	(original)
+++ trunk/lib/ephy-langs.h	Sat Apr 12 16:22:57 2008
@@ -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_LANGS_H
 #define EPHY_LANGS_H
 

Modified: trunk/lib/ephy-loader.h
==============================================================================
--- trunk/lib/ephy-loader.h	(original)
+++ trunk/lib/ephy-loader.h	Sat Apr 12 16:22:57 2008
@@ -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_LOADER_H
 #define EPHY_LOADER_H
 

Modified: trunk/lib/ephy-module.h
==============================================================================
--- trunk/lib/ephy-module.h	(original)
+++ trunk/lib/ephy-module.h	Sat Apr 12 16:22:57 2008
@@ -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_MODULE_H
 #define EPHY_MODULE_H
 

Modified: trunk/lib/ephy-node-common.h
==============================================================================
--- trunk/lib/ephy-node-common.h	(original)
+++ trunk/lib/ephy-node-common.h	Sat Apr 12 16:22:57 2008
@@ -49,4 +49,8 @@
 	EPHY_NODE_NORMAL_PRIORITY
 } EphyNodePriority;
 
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
 #endif /* EPHY_NODE_COMMON_H */

Modified: trunk/lib/ephy-node-db.h
==============================================================================
--- trunk/lib/ephy-node-db.h	(original)
+++ trunk/lib/ephy-node-db.h	Sat Apr 12 16:22:57 2008
@@ -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_NODE_DB_H
 #define EPHY_NODE_DB_H
 

Modified: trunk/lib/ephy-node-filter.h
==============================================================================
--- trunk/lib/ephy-node-filter.h	(original)
+++ trunk/lib/ephy-node-filter.h	Sat Apr 12 16:22:57 2008
@@ -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_NODE_FILTER_H
 #define EPHY_NODE_FILTER_H
 

Modified: trunk/lib/ephy-node.h
==============================================================================
--- trunk/lib/ephy-node.h	(original)
+++ trunk/lib/ephy-node.h	Sat Apr 12 16:22:57 2008
@@ -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_NODE_H
 #define EPHY_NODE_H
 

Modified: trunk/lib/ephy-object-helpers.h
==============================================================================
--- trunk/lib/ephy-object-helpers.h	(original)
+++ trunk/lib/ephy-object-helpers.h	Sat Apr 12 16:22:57 2008
@@ -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_OBJECT_HELPERS_H
 #define EPHY_OBJECT_HELPERS_H
 

Modified: trunk/lib/ephy-password-dialog.h
==============================================================================
--- trunk/lib/ephy-password-dialog.h	(original)
+++ trunk/lib/ephy-password-dialog.h	Sat Apr 12 16:22:57 2008
@@ -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_PASSWORD_DIALOG_H
 #define EPHY_PASSWORD_DIALOG_H
 

Modified: trunk/lib/ephy-prefs.h
==============================================================================
--- trunk/lib/ephy-prefs.h	(original)
+++ trunk/lib/ephy-prefs.h	Sat Apr 12 16:22:57 2008
@@ -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_PREFS_H
 #define EPHY_PREFS_H
 

Modified: trunk/lib/ephy-print-utils.h
==============================================================================
--- trunk/lib/ephy-print-utils.h	(original)
+++ trunk/lib/ephy-print-utils.h	Sat Apr 12 16:22:57 2008
@@ -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_PRINT_UTILS_H
 #define EPHY_PRINT_UTILS_H
 

Modified: trunk/lib/ephy-shlib-loader.h
==============================================================================
--- trunk/lib/ephy-shlib-loader.h	(original)
+++ trunk/lib/ephy-shlib-loader.h	Sat Apr 12 16:22:57 2008
@@ -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_SHLIB_LOADER_H
 #define EPHY_SHLIB_LOADER_H
 

Modified: trunk/lib/ephy-signal-accumulator.h
==============================================================================
--- trunk/lib/ephy-signal-accumulator.h	(original)
+++ trunk/lib/ephy-signal-accumulator.h	Sat Apr 12 16:22:57 2008
@@ -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_SIGNAL_ACCUMULATORS_H
 #define EPHY_SIGNAL_ACCUMULATORS_H
 

Modified: trunk/lib/ephy-spell-check.h
==============================================================================
--- trunk/lib/ephy-spell-check.h	(original)
+++ trunk/lib/ephy-spell-check.h	Sat Apr 12 16:22:57 2008
@@ -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_SPELL_CHECK_H
 #define EPHY_SPELL_CHECK_H
 

Modified: trunk/lib/ephy-state.h
==============================================================================
--- trunk/lib/ephy-state.h	(original)
+++ trunk/lib/ephy-state.h	Sat Apr 12 16:22:57 2008
@@ -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_STATE_H
 #define EPHY_STATE_H
 

Modified: trunk/lib/ephy-stock-icons.h
==============================================================================
--- trunk/lib/ephy-stock-icons.h	(original)
+++ trunk/lib/ephy-stock-icons.h	Sat Apr 12 16:22:57 2008
@@ -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_STOCK_ICONS_H
 #define EPHY_STOCK_ICONS_H
 

Modified: trunk/lib/ephy-string.h
==============================================================================
--- trunk/lib/ephy-string.h	(original)
+++ trunk/lib/ephy-string.h	Sat Apr 12 16:22:57 2008
@@ -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_STRING_H
 #define EPHY_STRING_H
 

Modified: trunk/lib/ephy-time-helpers.h
==============================================================================
--- trunk/lib/ephy-time-helpers.h	(original)
+++ trunk/lib/ephy-time-helpers.h	Sat Apr 12 16:22:57 2008
@@ -23,6 +23,10 @@
 
 #include <time.h>
 
+#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
+#error "Only <epiphany/epiphany.h> can be included directly."
+#endif
+
 #ifndef EPHY_TIME_HELPERS_H
 #define EPHY_TIME_HELPERS_H
 

Modified: trunk/lib/ephy-zoom.h
==============================================================================
--- trunk/lib/ephy-zoom.h	(original)
+++ trunk/lib/ephy-zoom.h	Sat Apr 12 16:22:57 2008
@@ -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_H
 #define EPHY_ZOOM_H
 

Modified: trunk/lib/widgets/ephy-icon-entry.h
==============================================================================
--- trunk/lib/widgets/ephy-icon-entry.h	(original)
+++ trunk/lib/widgets/ephy-icon-entry.h	Sat Apr 12 16:22:57 2008
@@ -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
 

Modified: trunk/lib/widgets/ephy-location-entry.h
==============================================================================
--- trunk/lib/widgets/ephy-location-entry.h	(original)
+++ trunk/lib/widgets/ephy-location-entry.h	Sat Apr 12 16:22:57 2008
@@ -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
 

Modified: trunk/lib/widgets/ephy-node-view.h
==============================================================================
--- trunk/lib/widgets/ephy-node-view.h	(original)
+++ trunk/lib/widgets/ephy-node-view.h	Sat Apr 12 16:22:57 2008
@@ -133,4 +133,8 @@
 
 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 */

Modified: trunk/lib/widgets/ephy-search-entry.h
==============================================================================
--- trunk/lib/widgets/ephy-search-entry.h	(original)
+++ trunk/lib/widgets/ephy-search-entry.h	Sat Apr 12 16:22:57 2008
@@ -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
 

Modified: trunk/lib/widgets/ephy-spinner.h
==============================================================================
--- trunk/lib/widgets/ephy-spinner.h	(original)
+++ trunk/lib/widgets/ephy-spinner.h	Sat Apr 12 16:22:57 2008
@@ -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
 

Modified: trunk/lib/widgets/ephy-tree-model-node.h
==============================================================================
--- trunk/lib/widgets/ephy-tree-model-node.h	(original)
+++ trunk/lib/widgets/ephy-tree-model-node.h	Sat Apr 12 16:22:57 2008
@@ -73,4 +73,8 @@
 
 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 */

Modified: trunk/lib/widgets/ephy-tree-model-sort.h
==============================================================================
--- trunk/lib/widgets/ephy-tree-model-sort.h	(original)
+++ trunk/lib/widgets/ephy-tree-model-sort.h	Sat Apr 12 16:22:57 2008
@@ -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
 

Modified: trunk/lib/widgets/ephy-zoom-action.h
==============================================================================
--- trunk/lib/widgets/ephy-zoom-action.h	(original)
+++ trunk/lib/widgets/ephy-zoom-action.h	Sat Apr 12 16:22:57 2008
@@ -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
 

Modified: trunk/lib/widgets/ephy-zoom-control.h
==============================================================================
--- trunk/lib/widgets/ephy-zoom-control.h	(original)
+++ trunk/lib/widgets/ephy-zoom-control.h	Sat Apr 12 16:22:57 2008
@@ -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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]