<p>In <a href="https://github.com/geany/geany/pull/839#discussion_r50760586">tagmanager/src/tm_source_file.c</a>:</p>
<pre style='color:#555'>>      }
>  }
>  
> +/** Gets the GBoxed-derived GType for TMSourceFile
> + *
> + * @return TMSourceFile type . */
> +GEANY_API_SYMBOL
> +GType tm_source_file_get_type(void);
</pre>
<pre lang="gcc"><code>../../../tagmanager/src/tm_source_file.c:272:7: warning: redundant redeclaration of 'tm_source_file_get_type' [-Wredundant-decls]
 GType tm_source_file_get_type(void);
       ^
In file included from ../../../tagmanager/src/tm_source_file.c:35:0:
../../../tagmanager/src/tm_source_file.h:48:7: note: previous declaration of 'tm_source_file_get_type' was here
 GType tm_source_file_get_type(void);
       ^
</code></pre>

<p>but I guess we don't care.  Alternatively we could just rely on the fact <code>G_DEFINE_BOXED_TYPE</code> only expands to a function definition so attributes could come right before, but this is likely to be fragile as it's not documented explicitly.</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/839/files#r50760586">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ-Gx_oOk0JEdprqVhBJOyXIGQa-nks5pdo4TgaJpZM4G6HUp.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/839/files#r50760586"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>