summaryrefslogtreecommitdiff
path: root/gtk/gtktoolpalette.h
diff options
context:
space:
mode:
authorMichael Natterer <mitch@gimp.org>2009-11-27 15:58:13 +0100
committerMichael Natterer <mitch@gimp.org>2009-11-27 15:58:13 +0100
commit1e476186cbbc64340b89f76db96fb49957739112 (patch)
treeccafe56d071230d35d35540107e36a2aaa68823c /gtk/gtktoolpalette.h
parent2ef9b989bff2faf392aedc57902e23739b965cb9 (diff)
downloadgtk+-1e476186cbbc64340b89f76db96fb49957739112.tar.gz
Add missing single-include guards
Diffstat (limited to 'gtk/gtktoolpalette.h')
-rw-r--r--gtk/gtktoolpalette.h4
1 files changed, 4 insertions, 0 deletions
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__