<p>In <a href="https://github.com/geany/geany/pull/1038#discussion_r68138568">src/document.h</a>:</p>
<pre style='color:#555'>> @@ -70,6 +70,9 @@ typedef struct GeanyFilePrefs
>  GeanyFilePrefs;
>  
>  
> +#define GEANY_TYPE_DOCUMENT (document_get_type())
> +GType document_get_type (void);
</pre>
<p>Well, the functions are exported, even if just for the gir. So putting them under GEANY_PRIVATE just isn't right.</p>

<p>Besides, I do generate a (mostly) working .vapi from the .gir. Vala plugins written against that use the C header files so they need to be in the public headers (peasy is partly written in vala).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/1038/files/112ef938ff8c100b62c3ca12a608ed44daa365cf#r68138568">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJzB1ez4_9u40Hrw96r8VCFpFJMnzks5qOajbgaJpZM4Ifw_7">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ4LAROEla0aSiSLj32AXt2AE5CGmks5qOajbgaJpZM4Ifw_7.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/1038/files/112ef938ff8c100b62c3ca12a608ed44daa365cf#r68138568"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>