diff options
author | Michael Natterer <mitch@gimp.org> | 2009-11-27 15:58:13 +0100 |
---|---|---|
committer | Michael Natterer <mitch@gimp.org> | 2009-11-27 15:58:13 +0100 |
commit | 1e476186cbbc64340b89f76db96fb49957739112 (patch) | |
tree | ccafe56d071230d35d35540107e36a2aaa68823c | |
parent | 2ef9b989bff2faf392aedc57902e23739b965cb9 (diff) | |
download | gtk+-1e476186cbbc64340b89f76db96fb49957739112.tar.gz |
Add missing single-include guards
-rw-r--r-- | gtk/gtktoolitemgroup.h | 4 | ||||
-rw-r--r-- | gtk/gtktoolpalette.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtktoolitemgroup.h b/gtk/gtktoolitemgroup.h index 4a1b9b48c9..82f153ce2e 100644 --- a/gtk/gtktoolitemgroup.h +++ b/gtk/gtktoolitemgroup.h @@ -19,6 +19,10 @@ * Mathias Hasselmann */ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only <gtk/gtk.h> can be included directly." +#endif + #ifndef __GTK_TOOL_ITEM_GROUP_H__ #define __GTK_TOOL_ITEM_GROUP_H__ diff --git a/gtk/gtktoolpalette.h b/gtk/gtktoolpalette.h index 36eb379dbc..e45b9a1dcf 100644 --- a/gtk/gtktoolpalette.h +++ b/gtk/gtktoolpalette.h @@ -19,6 +19,10 @@ * Mathias Hasselmann */ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only <gtk/gtk.h> can be included directly." +#endif + #ifndef __GTK_TOOL_PALETTE_H__ #define __GTK_TOOL_PALETTE_H__ |