build: Do not mix private and public GDK headers

The type generation script inside gtk/ will use the `gdk_headers`
variable, and that must not contain private headers.
This commit is contained in:
Emmanuele Bassi 2017-04-18 14:13:51 +01:00
parent e1dc4f7ae1
commit 9105227b56

View File

@ -95,7 +95,7 @@ gdkresources = gnome.compile_resources('gdkresources',
c_name: '_gdk',
extra_args: '--manual-register')
gdk_headers = gdk_public_headers + gdk_private_h_sources
gdk_headers = gdk_public_headers
gdk_enums = gnome.mkenums('gdkenumtypes',
sources: gdk_public_headers,
@ -166,7 +166,8 @@ gdk_sources += [
gdk_marshalers,
gdkresources,
gdkversionmacros,
gdk_headers
gdk_private_h_sources,
gdk_public_headers
]
if wayland_enabled or broadway_enabled