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:
parent
ed700a9dc6
commit
4a54ee86f3
@ -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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user