diff options
author | Benjamin Otte <otte@redhat.com> | 2018-09-21 04:34:16 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-10-06 00:29:31 +0200 |
commit | 99b769706c586707f16dcdb08438ac1d4269d913 (patch) | |
tree | f1025709bb54354d6d0db2e4ed6aed3995d513ed /gtk/gtkvideo.h | |
parent | 39843ebb3f23f82bf9313b30dcfd09381e56e5bd (diff) | |
download | gtk+-99b769706c586707f16dcdb08438ac1d4269d913.tar.gz |
video: Add header include guard
Diffstat (limited to 'gtk/gtkvideo.h')
-rw-r--r-- | gtk/gtkvideo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkvideo.h b/gtk/gtkvideo.h index e0710c2ef6..cf20a8a08c 100644 --- a/gtk/gtkvideo.h +++ b/gtk/gtkvideo.h @@ -20,6 +20,10 @@ #ifndef __GTK_VIDEO_H__ #define __GTK_VIDEO_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only <gtk/gtk.h> can be included directly." +#endif + #include <gtk/gtkmediastream.h> #include <gtk/gtkwidget.h> |