diff options
author | Benjamin Otte <otte@redhat.com> | 2014-07-12 05:29:54 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-07-12 07:13:28 +0200 |
commit | 0be93f8e860bbaa7216de8e5ebe25529f099dd39 (patch) | |
tree | ce1c0cb017411dcac2743453f5563d7a751baf75 /gtk/gtkx.h | |
parent | fcbbe54936f0b0519836388e5827e55ef742625e (diff) | |
download | gtk+-0be93f8e860bbaa7216de8e5ebe25529f099dd39.tar.gz |
gtkx: Warn if we include gtkx.h during GTK compilation
Diffstat (limited to 'gtk/gtkx.h')
-rw-r--r-- | gtk/gtkx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkx.h b/gtk/gtkx.h index 10f3dfaedc..e5d2531823 100644 --- a/gtk/gtkx.h +++ b/gtk/gtkx.h @@ -18,6 +18,10 @@ #ifndef __GTK_X_H__ #define __GTK_X_H__ +#if defined (GTK_COMPILATION) +#error "<gtk/gtkx.h> must not be included by GTK+ headers." +#endif + #define __GTKX_H_INSIDE__ #include <gtk/gtk.h> |