diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-03-14 17:01:32 +0000 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-03-18 16:25:07 +0000 |
commit | 98e154d08d128cdc53a7afb1d290acbe56d35976 (patch) | |
tree | 83faa00081d9d407768124cc0a3a40e788d3f576 | |
parent | f4808bf7799f748d4f45ea4edb5a3aa001b39ca0 (diff) | |
download | clutter-gst-98e154d08d128cdc53a7afb1d290acbe56d35976.tar.gz |
headers: add missing protections against direct header inclusion
-rw-r--r-- | clutter-gst/clutter-gst-aspectratio.h | 4 | ||||
-rw-r--r-- | clutter-gst/clutter-gst-playback.h | 4 | ||||
-rw-r--r-- | clutter-gst/clutter-gst-player.h | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/clutter-gst/clutter-gst-aspectratio.h b/clutter-gst/clutter-gst-aspectratio.h index 0419e96..de5e4bd 100644 --- a/clutter-gst/clutter-gst-aspectratio.h +++ b/clutter-gst/clutter-gst-aspectratio.h @@ -26,6 +26,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 include directly." +#endif + #ifndef __CLUTTER_GST_ASPECTRATIO_H__ #define __CLUTTER_GST_ASPECTRATIO_H__ 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__ diff --git a/clutter-gst/clutter-gst-player.h b/clutter-gst/clutter-gst-player.h index 012d2e1..ede3f64 100644 --- a/clutter-gst/clutter-gst-player.h +++ b/clutter-gst/clutter-gst-player.h @@ -31,6 +31,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 include directly." +#endif + #ifndef __CLUTTER_GST_PLAYER_H__ #define __CLUTTER_GST_PLAYER_H__ |