MSVC Introspection Builds: Filter Out gtkx.h

Like the autotools builds of the introspection files, don't include gtkx.h
in the introspection prepropcessing as it should not be included by other
GTK+ headers.
This commit is contained in:
Chun-wei Fan 2014-07-16 18:04:38 +08:00
parent 64e5d6ee3a
commit 283a274d32

View File

@ -63,7 +63,11 @@ def gen_gtk_filelist(srcroot, subdir, dest):
vars['gtk_clipboard_dnd_c_sources'].split() + \
vars['gtk_other_src'].split()
sources = [i for i in files if not (i.endswith('private.h')) and i != 'gtktextdisplay.h' and i != 'gtktextlayout.h']
sources = [i for i in files \
if not (i.endswith('private.h')) \
and i != 'gtktextdisplay.h' \
and i != 'gtktextlayout.h' \
and i != 'gtkx.h']
with open(dest, 'w') as d:
for i in sources: