<p>In <a href="https://github.com/geany/geany/pull/948#discussion_r55566379">scripts/gen-api-gtkdoc.py</a>:</p>
<pre style='color:#555'>>      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 \"sciwrappers.h\"\n")
</pre>
<div class="email-fragment">Am 9. März 2016 19:35:54 MEZ, schrieb Colomban Wendling <notifications@github.com>:</div>
<div class="email-quoted-reply">>      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 \"sciwrappers.h\"\n")

Why include sciwrappers here?  wouldn't it make more sense to include
`Scintilla.h` and `ScintillaWidget.h`?
Anyway, good point including *gtkcompat.h* for the GtkComboBoxText
hack.  Though, now we depend on 2.24 I'd like to break API and ABI and
drop the compat here at some point.

---
Reply to this email directly or view it on GitHub:
<a href="https://github.com/geany/geany/pull/948/files#r55565475">https://github.com/geany/geany/pull/948/files#r55565475</a>
</div>
<div class="email-fragment">Convenience, mostly. g-ir-scanner doesnt scam includes but uses type information from them if they are used in the main file. Only symbols defined in the files listed in the cmdline are picked up.</div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/948/files#r55566379">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJwDbAuABMBmhZdkKziqISlnrziFjks5prxRPgaJpZM4HsP_z.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/948/files#r55566379"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>