[geany/geany] 4a54ee: Include more headers into geany-gtkdoc.h
Thomas Martitz
git-noreply at xxxxx
Wed Mar 9 21:49:51 UTC 2016
Branch: refs/heads/master
Author: Thomas Martitz <kugel at rockbox.org>
Committer: Thomas Martitz <kugel at rockbox.org>
Date: Wed, 09 Mar 2016 21:49:51 UTC
Commit: 4a54ee86f3a4401e76d1fa001ce2b5d4be9adca4
https://github.com/geany/geany/commit/4a54ee86f3a4401e76d1fa001ce2b5d4be9adca4
Log Message:
-----------
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.
Modified Paths:
--------------
scripts/gen-api-gtkdoc.py
Modified: scripts/gen-api-gtkdoc.py
6 lines changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -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")
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list