diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2019-11-27 13:33:43 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2019-11-27 13:33:43 +0000 |
commit | def700739d4f1884be25c63f9df32c583fe4418a (patch) | |
tree | b153cea8052a45d1985e5d9105107dea56d37844 /gdk/gdkcairocontext.h | |
parent | 9f69c7f3e8809af6e97825ae5dd2191c6d4008fc (diff) | |
download | gtk+-def700739d4f1884be25c63f9df32c583fe4418a.tar.gz |
Use a single compilation symbol
We use a compilation symbol in our build to allow the inclusion of
specific headers while building GTK, to avoid the need to include only
the global header.
Each namespace has its own compilation symbol because we used to have
different libraries, and strict symbol visibility between libraries;
now that we have a single library, and we can use private symbols across
namespaces while building GTK, we should have a single compilation
symbol, and simplify the build rules.
Diffstat (limited to 'gdk/gdkcairocontext.h')
-rw-r--r-- | gdk/gdkcairocontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkcairocontext.h b/gdk/gdkcairocontext.h index 8d83da7594..d5e3967cfc 100644 --- a/gdk/gdkcairocontext.h +++ b/gdk/gdkcairocontext.h @@ -21,7 +21,7 @@ #ifndef __GDK_CAIRO_CONTEXT__ #define __GDK_CAIRO_CONTEXT__ -#if !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION) +#if !defined (__GDK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only <gdk/gdk.h> can be included directly." #endif |