diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2010-01-12 07:13:04 +0000 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2010-01-12 07:13:04 +0000 |
commit | 3c5d57eacf8cf2b6d4d6e31ea1f0951700527cca (patch) | |
tree | 0d2e1edd166c7c67595f20b41459d957a1f0b03d /clutter-gst/clutter-gst-version.h.in | |
parent | eec858424bab2934038f651da10b137509c294ce (diff) | |
download | clutter-gst-3c5d57eacf8cf2b6d4d6e31ea1f0951700527cca.tar.gz |
[misc] Only allow the inclusion of the top level header
Users of the library should not include individual headers but the top
level one only (<clutter-gst/clutter-gst.h>). This is to allow us to
shuffle things around, remove or rename headers without breaking
anything.
Diffstat (limited to 'clutter-gst/clutter-gst-version.h.in')
-rw-r--r-- | clutter-gst/clutter-gst-version.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-version.h.in b/clutter-gst/clutter-gst-version.h.in index 0993393..d4f2501 100644 --- a/clutter-gst/clutter-gst-version.h.in +++ b/clutter-gst/clutter-gst-version.h.in @@ -23,6 +23,10 @@ * Boston, MA 02111-1307, USA. */ +#if !defined(__CLUTTER_GST_H_INSIDE__) && !defined(CLUTTER_GST_COMPILATION) +#error "Only <clutter-gst/clutter-gst.h> can be included directly." +#endif + /** * SECTION:clutter-gst-version * @short_description: Versioning Macros |