From 283a274d32d5c07c157b660cd69d7be29b1d9014 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 16 Jul 2014 18:04:38 +0800 Subject: [PATCH] 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. --- build/gen-file-list-gtk.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/gen-file-list-gtk.py b/build/gen-file-list-gtk.py index f39944a082..3389e05050 100644 --- a/build/gen-file-list-gtk.py +++ b/build/gen-file-list-gtk.py @@ -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: