diff options
Diffstat (limited to 'clutter-gst/clutter-gst-video-sink.h')
-rw-r--r-- | clutter-gst/clutter-gst-video-sink.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.h b/clutter-gst/clutter-gst-video-sink.h index 6e63a4d..1a4ba8e 100644 --- a/clutter-gst/clutter-gst-video-sink.h +++ b/clutter-gst/clutter-gst-video-sink.h @@ -26,8 +26,12 @@ * Boston, MA 02111-1307, USA. */ -#ifndef _HAVE_CLUTTER_GST_VIDEO_SINK_H -#define _HAVE_CLUTTER_GST_VIDEO_SINK_H +#if !defined(__CLUTTER_GST_H_INSIDE__) && !defined(CLUTTER_GST_COMPILATION) +#error "Only <clutter-gst/clutter-gst.h> can be included directly." +#endif + +#ifndef __CLUTTER_GST_VIDEO_SINK_H__ +#define __CLUTTER_GST_VIDEO_SINK_H__ #include <glib-object.h> #include <gst/base/gstbasesink.h> @@ -100,4 +104,4 @@ GstElement *clutter_gst_video_sink_new (ClutterTexture *texture); G_END_DECLS -#endif +#endif /* __CLUTTER_GST_VIDEO_SINK_H__ */ |