<blockquote>
<blockquote>
<p>I believe there are a lot of transfer annotations that aren't needed, <br>
and in most case natural to the reader. In such case, I guess I'd <br>
rather leave them out.</p>
</blockquote>

<p><a href="https://github.com/b4n" class="user-mention">@b4n</a> Which ones? I only added them where needed, that is basically all <br>
non-const returns of struct pointers (otherwise g-ir-scanner throws <br>
warnings like this:</p>

<blockquote>
<p>Geany: editor_create_widget: return value: Invalid non-constant <br>
return of bare structure or union; register as boxed type or (skip)</p>
</blockquote>
</blockquote>

<p>Hum, okay.  I thought if you returned e.g. a <code>GeanyDocument</code> pointer it would have had <code>transfer: none</code> by default if not a known type or a <code>_new()</code> function, but if it's needed OK.</p>

<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/890#issuecomment-185814167">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ4AEkUd9CL-vORHXMHiI6uX3_vmUks5ple8hgaJpZM4HM9VD.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/890#issuecomment-185814167"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>