summaryrefslogtreecommitdiff
path: root/clutter-gst/clutter-gst-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'clutter-gst/clutter-gst-util.h')
-rw-r--r--clutter-gst/clutter-gst-util.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/clutter-gst/clutter-gst-util.h b/clutter-gst/clutter-gst-util.h
index 338d58d..ea738a2 100644
--- a/clutter-gst/clutter-gst-util.h
+++ b/clutter-gst/clutter-gst-util.h
@@ -25,8 +25,12 @@
* Boston, MA 02111-1307, USA.
*/
-#ifndef _HAVE_CLUTTER_GST_UTIL_H
-#define _HAVE_CLUTTER_GST_UTIL_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_UTIL_H__
+#define __CLUTTER_GST_UTIL_H__
#include <clutter/clutter.h>
@@ -43,4 +47,4 @@ ClutterInitError clutter_gst_init_with_args (int *argc,
G_END_DECLS
-#endif
+#endif /* __CLUTTER_GST_UTIL_H__ */