diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2016-02-07 22:43:45 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2016-02-08 07:16:02 -0600 |
commit | 18dc1e1fc79a9c76c5ce13f34fc8c39cee4bf2dc (patch) | |
tree | eac11ae901a56eeac176b9872c6f4ec01cca3e12 /embed/ephy-embed-shell.h | |
parent | 70bc6b8dc35dcaec955f489fa67e40427f861dd5 (diff) | |
download | epiphany-18dc1e1fc79a9c76c5ce13f34fc8c39cee4bf2dc.tar.gz |
Remove vestiges of public API
It's been gone for years, and it's not coming back. If we support
extensions in the future, it would be via the WebExtensions API.
This makes me less annoyed by having to maintain a meaningless
distinction between installed and non-installed header files (it's been
years since any headers were installed). It also makes me less annoyed
by having to look at meaningless direct-inclusion guards. And finally,
it makes me less annoyed because each time I see those direct-inclusion
guards, I think of how they really ought to be inside the normal include
guards, rather than outside, to avoid breaking GCC and Clang's
optimization to avoid unnecessarily reading the contents of the header
file. (WebKit gets this wrong, too.) You can thank me if this makes
Epiphany compile 0.1s or so faster for you.
There are no useful changes in this commit.
https://bugzilla.gnome.org/show_bug.cgi?id=761698
Diffstat (limited to 'embed/ephy-embed-shell.h')
-rw-r--r-- | embed/ephy-embed-shell.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/embed/ephy-embed-shell.h b/embed/ephy-embed-shell.h index f49a1eabf..1617d4533 100644 --- a/embed/ephy-embed-shell.h +++ b/embed/ephy-embed-shell.h @@ -17,10 +17,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#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 |