summaryrefslogtreecommitdiff
path: root/clutter-gst/clutter-gst-playback.h
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-03-14 17:01:32 +0000
committerLionel Landwerlin <llandwerlin@gmail.com>2013-03-18 16:25:07 +0000
commit98e154d08d128cdc53a7afb1d290acbe56d35976 (patch)
tree83faa00081d9d407768124cc0a3a40e788d3f576 /clutter-gst/clutter-gst-playback.h
parentf4808bf7799f748d4f45ea4edb5a3aa001b39ca0 (diff)
downloadclutter-gst-98e154d08d128cdc53a7afb1d290acbe56d35976.tar.gz
headers: add missing protections against direct header inclusion
Diffstat (limited to 'clutter-gst/clutter-gst-playback.h')
-rw-r--r--clutter-gst/clutter-gst-playback.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-playback.h b/clutter-gst/clutter-gst-playback.h
index 1be5084..c44679b 100644
--- a/clutter-gst/clutter-gst-playback.h
+++ b/clutter-gst/clutter-gst-playback.h
@@ -1,5 +1,9 @@
/* clutter-gst-playback.h */
+#if !defined(__CLUTTER_GST_H_INSIDE__) && !defined(CLUTTER_GST_COMPILATION)
+#error "Only <clutter-gst/clutter-gst.h> can be include directly."
+#endif
+
#ifndef __CLUTTER_GST_PLAYBACK_H__
#define __CLUTTER_GST_PLAYBACK_H__