Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
47add6c7
Commit
47add6c7
authored
Dec 02, 2010
by
Carlos Garnacho
Browse files
Block direct #including in style headers
parent
bacb7906
Changes
7
Hide whitespace changes
Inline
Side-by-side
gtk/gtkgradient.h
View file @
47add6c7
...
...
@@ -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__
...
...
gtk/gtkstylecontext.h
View file @
47add6c7
...
...
@@ -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__
...
...
gtk/gtkstyleproperties.h
View file @
47add6c7
...
...
@@ -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__
...
...
gtk/gtkstyleprovider.h
View file @
47add6c7
...
...
@@ -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.
...
...
gtk/gtksymboliccolor.h
View file @
47add6c7
...
...
@@ -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__
...
...
gtk/gtkthemingengine.h
View file @
47add6c7
...
...
@@ -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__
...
...
gtk/gtkwidgetpath.h
View file @
47add6c7
...
...
@@ -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__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment