From 95d76d0132c22d9ef2b21c713c3a15d9e3a9e54c Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 1 Oct 2014 00:49:59 -0400 Subject: [PATCH] Add a few missing include guards --- gtk/gtkapplicationwindow.h | 4 ++++ gtk/gtkstack.h | 4 ++++ gtk/gtkstackswitcher.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/gtk/gtkapplicationwindow.h b/gtk/gtkapplicationwindow.h index f0654b3bdc..234283c6b4 100644 --- a/gtk/gtkapplicationwindow.h +++ b/gtk/gtkapplicationwindow.h @@ -20,6 +20,10 @@ #ifndef __GTK_APPLICATION_WINDOW_H__ #define __GTK_APPLICATION_WINDOW_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include G_BEGIN_DECLS diff --git a/gtk/gtkstack.h b/gtk/gtkstack.h index 3240ada482..1f4e7d7b2b 100644 --- a/gtk/gtkstack.h +++ b/gtk/gtkstack.h @@ -22,6 +22,10 @@ #ifndef __GTK_STACK_H__ #define __GTK_STACK_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include G_BEGIN_DECLS diff --git a/gtk/gtkstackswitcher.h b/gtk/gtkstackswitcher.h index 093f85f0fb..61f3158ea4 100644 --- a/gtk/gtkstackswitcher.h +++ b/gtk/gtkstackswitcher.h @@ -20,6 +20,10 @@ #ifndef __GTK_STACK_SWITCHER_H__ #define __GTK_STACK_SWITCHER_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include #include