summaryrefslogtreecommitdiff
path: root/lib/ephy-dnd.h
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2016-02-07 22:43:45 -0600
committerMichael Catanzaro <mcatanzaro@igalia.com>2016-02-08 07:16:02 -0600
commit18dc1e1fc79a9c76c5ce13f34fc8c39cee4bf2dc (patch)
treeeac11ae901a56eeac176b9872c6f4ec01cca3e12 /lib/ephy-dnd.h
parent70bc6b8dc35dcaec955f489fa67e40427f861dd5 (diff)
downloadepiphany-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 'lib/ephy-dnd.h')
-rw-r--r--lib/ephy-dnd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ephy-dnd.h b/lib/ephy-dnd.h
index b2462e718..275740a5a 100644
--- a/lib/ephy-dnd.h
+++ b/lib/ephy-dnd.h
@@ -15,10 +15,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_DND_H
#define EPHY_DND_H