[gtk+] MSVC Introspection Builds: Filter Out gtkx.h



commit 283a274d32d5c07c157b660cd69d7be29b1d9014
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Jul 16 18:04:38 2014 +0800

    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 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/build/gen-file-list-gtk.py b/build/gen-file-list-gtk.py
index f39944a..3389e05 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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]