diff options
Diffstat (limited to 'gobject/gparamspecs.h')
-rw-r--r-- | gobject/gparamspecs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gobject/gparamspecs.h b/gobject/gparamspecs.h index 98a15f678..075291ed4 100644 --- a/gobject/gparamspecs.h +++ b/gobject/gparamspecs.h @@ -21,6 +21,9 @@ #ifndef __G_PARAMSPECS_H__ #define __G_PARAMSPECS_H__ +#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION) +#error "Only <glib-object.h> can be included directly." +#endif #include <gobject/gvalue.h> #include <gobject/genums.h> |