<p>In <a href="https://github.com/geany/geany/pull/1038#discussion_r68230438">scintilla/gtk/ScintillaGTK.cxx</a>:</p>
<pre style='color:#555'>> @@ -3250,6 +3250,7 @@ void scintilla_release_resources(void) {
>  static void *copy_(void *src) { return src; }
>  static void free_(void *doc) { }
>  
> +GEANY_API_SYMBOL
>  GType scnotification_get_type(void) {
>    static gsize type_id = 0;
</pre>
<div class="email-fragment">Am 23. Juni 2016 05:07:10 MESZ, schrieb Matthew Brush <notifications@github.com>:</div>
<div class="email-quoted-reply">> @@ -3250,6 +3250,7 @@ void scintilla_release_resources(void) {
>  static void *copy_(void *src) { return src; }
>  static void free_(void *doc) { }
>
> +GEANY_API_SYMBOL
>  GType scnotification_get_type(void) {
>    static gsize type_id = 0;

Yeah, that's what I meant by "or use gsize without the casts", though I
think it's kind of weird to intentionally use the (semantically) wrong
type name for no reason.

---
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
<a href="https://github.com/geany/geany/pull/1038/files/6b5a47d05f575b321ff158044420864ee9e59889#r68169864">https://github.com/geany/geany/pull/1038/files/6b5a47d05f575b321ff158044420864ee9e59889#r68169864</a>
</div>
<div class="email-fragment">g_once_init_leave() takes a gsize which is stored at the value location. That suggested that the value location should point to an gsize compatible location. This guided me.

Anyway the discussion  out of scope for this PR and really minor anyway.</div>

<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/6b5a47d05f575b321ff158044420864ee9e59889#r68230438">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ1TTS1XpRBV-qiv9NDWDxmXh_-uoks5qOoVAgaJpZM4Ifw_7">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJyZT_BB_d_FNx32Z9TqfDu7mui9Yks5qOoVAgaJpZM4Ifw_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/6b5a47d05f575b321ff158044420864ee9e59889#r68230438"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>