<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=811085" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elextr">@elextr</a>, <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=564520" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/kugel-">@kugel-</a>:<br>
Yes, it is still valid, see the code below taken from current master today:</p>
<div class="highlight highlight-source-c"><pre><span class="pl-k">static</span> <span class="pl-k">void</span> <span class="pl-en">remove_callbacks</span>(Plugin *plugin)
{
        GArray *signal_ids = plugin-><span class="pl-smi">signal_ids</span>;
        SignalConnection *sc;

        <span class="pl-k">if</span> (signal_ids == <span class="pl-c1">NULL</span>)
                <span class="pl-k">return</span>;

        <span class="pl-c1">foreach_array</span>(SignalConnection, sc, signal_ids)
        {
                <span class="pl-c1">g_signal_handler_disconnect</span>(sc-><span class="pl-smi">object</span>, sc-><span class="pl-smi">handler_id</span>);
                <span class="pl-c1">g_object_weak_unref</span>(sc-><span class="pl-smi">object</span>, on_object_weak_notify, plugin);
        }

        <span class="pl-c1">g_array_free</span>(signal_ids, <span class="pl-c1">TRUE</span>);
}</pre></div>
<p>It would be cool if someone could fix the conflicts and merge this - one PR less.</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/183?email_source=notifications&email_token=AAIOWJZ4YIEZNYGC3KWU4STQEBRWRA5CNFSM4AJGWKGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4BHB4Q#issuecomment-520253682">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ72H2IGRNQWOMH22FTQEBRWRANCNFSM4AJGWKGA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6D6WJEJADRMPOBDSLQEBRWRA5CNFSM4AJGWKGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4BHB4Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/183?email_source=notifications\u0026email_token=AAIOWJZ4YIEZNYGC3KWU4STQEBRWRA5CNFSM4AJGWKGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4BHB4Q#issuecomment-520253682",
"url": "https://github.com/geany/geany/pull/183?email_source=notifications\u0026email_token=AAIOWJZ4YIEZNYGC3KWU4STQEBRWRA5CNFSM4AJGWKGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4BHB4Q#issuecomment-520253682",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>