<p>I'm fine either way. I don't really care anymore, since I don't consider plugin_module_make_resident() a useful api at all anymore (I changed my mind). Not useful because glib already provides a standard method to access the GModule.</p>

<p>I'd deprecate it generally instead of adding workarounds to a useless api, but other than that your proposed change is OK (I accept it helps your vision of no globals and doing anything other that registration in init() <g-emoji alias="blush" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f60a.png">😊</g-emoji>)</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/760#issuecomment-156794448">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJyTR5DOCphJH69_yWRt8Mo7DGsWzks5pGEiYgaJpZM4GidB1.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/760#issuecomment-156794448"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>