summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkgradient.h4
-rw-r--r--gtk/gtkstylecontext.h4
-rw-r--r--gtk/gtkstyleproperties.h4
-rw-r--r--gtk/gtkstyleprovider.h6
-rw-r--r--gtk/gtksymboliccolor.h4
-rw-r--r--gtk/gtkthemingengine.h4
-rw-r--r--gtk/gtkwidgetpath.h4
7 files changed, 29 insertions, 1 deletions
diff --git a/gtk/gtkgradient.h b/gtk/gtkgradient.h
index 3e6b70fc78..f097c40fd0 100644
--- a/gtk/gtkgradient.h
+++ b/gtk/gtkgradient.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_GRADIENT_H__
#define __GTK_GRADIENT_H__
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h
index be20bf95f6..132a90baf2 100644
--- a/gtk/gtkstylecontext.h
+++ b/gtk/gtkstylecontext.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_CONTEXT_H__
#define __GTK_STYLE_CONTEXT_H__
diff --git a/gtk/gtkstyleproperties.h b/gtk/gtkstyleproperties.h
index 4ff783a729..113fe44f93 100644
--- a/gtk/gtkstyleproperties.h
+++ b/gtk/gtkstyleproperties.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_PROPERTIES_H__
#define __GTK_STYLE_PROPERTIES_H__
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.
diff --git a/gtk/gtksymboliccolor.h b/gtk/gtksymboliccolor.h
index 462f086b09..4f4b8137b4 100644
--- a/gtk/gtksymboliccolor.h
+++ b/gtk/gtksymboliccolor.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_SYMBOLIC_COLOR_H__
#define __GTK_SYMBOLIC_COLOR_H__
diff --git a/gtk/gtkthemingengine.h b/gtk/gtkthemingengine.h
index 71cd635f80..128070e068 100644
--- a/gtk/gtkthemingengine.h
+++ b/gtk/gtkthemingengine.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_THEMING_ENGINE_H__
#define __GTK_THEMING_ENGINE_H__
diff --git a/gtk/gtkwidgetpath.h b/gtk/gtkwidgetpath.h
index f6a7d72b89..801906c68f 100644
--- a/gtk/gtkwidgetpath.h
+++ b/gtk/gtkwidgetpath.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_WIDGET_PATH_H__
#define __GTK_WIDGET_PATH_H__