Include more headers into geany-gtkdoc.h

gtkcompat.h is more convinient, and includes gtk.h and glib.h. Due to
including ScintillaWidget.h, the manual ScintillaObject typedef isn't required
anymore.
This commit is contained in:
Thomas Martitz 2016-03-09 22:19:10 +01:00
parent ed700a9dc6
commit 4a54ee86f3

View File

@ -399,9 +399,9 @@ def main(args):
try:
outfile.write("/*\n * Automatically generated file - do not edit\n */\n\n")
outfile.write("#include <glib.h>\n")
outfile.write("#include <gtk/gtk.h>\n\n")
outfile.write("typedef struct _ScintillaObject ScintillaObject;\n")
outfile.write("#include \"gtkcompat.h\"\n")
outfile.write("#include \"Scintilla.h\"\n")
outfile.write("#include \"ScintillaWidget.h\"\n")
outfile.write("typedef struct TMSourceFile TMSourceFile;\n")
outfile.write("typedef struct TMWorkspace TMWorkspace;\n")