diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2010-12-02 23:45:14 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:39:55 +0100 |
commit | 47add6c7c3b7055632359f17f1fc7f3fe10f4e3b (patch) | |
tree | 03f4364818d29296afde9df00297375d8c2817e9 /gtk/gtkstyleprovider.h | |
parent | bacb7906f238c716dac395b923e41897428a263a (diff) | |
download | gtk+-47add6c7c3b7055632359f17f1fc7f3fe10f4e3b.tar.gz |
Block direct #including in style headers
Diffstat (limited to 'gtk/gtkstyleprovider.h')
-rw-r--r-- | gtk/gtkstyleprovider.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkstyleprovider.h b/gtk/gtkstyleprovider.h index 731c346007..d996bb77fe 100644 --- a/gtk/gtkstyleprovider.h +++ b/gtk/gtkstyleprovider.h @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only <gtk/gtk.h> can be included directly." +#endif + #ifndef __GTK_STYLE_PROVIDER_H__ #define __GTK_STYLE_PROVIDER_H__ @@ -72,7 +76,7 @@ G_BEGIN_DECLS * GTK_STYLE_PROVIDER_PRIORITY_USER: * * The priority used for the style information from - * <filename><replaceable>XDG_CONFIG_HOME</replaceable>/gtk-3.0/gtk.css</filename> + * <filename>~/.gtk-3.0.css</filename>. * * You should not use priorities higher than this, to * give the user the last word. |