<p>In <a href="https://github.com/geany/geany-plugins/pull/402#discussion_r55922113">geniuspaste/src/geniuspaste.c</a>:</p>
<pre style='color:#555'>> @@ -94,6 +94,54 @@ PLUGIN_SET_TRANSLATABLE_INFO(LOCALEDIR, GETTEXT_PACKAGE, PLUGIN_NAME,
>                               PLUGIN_VERSION, "Enrico Trotta <enrico.trt@gmail.com>")
>  
>  
> +/* Windows compatibility for resolving system plugin data path.
> + * This only works if the plugin's data is installed in the same tree as the
> + * plugin DLL, which might not be true (as the DLL has to be in Geany's libdir
> + * but the plugin's data might be anywhere in theory) */
</pre>
<p>Wait.  I think I just had an epiphany:  if we use the code I have here, but on a <code>libgeany-plugins</code> library, which would be installed in GP's own tree, it would be correct no matter where the Geany and GP's tree are far apart.</p>

<p>But maybe it's just being too nice, as maybe indeed we rely on both being next to one another.</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-plugins/pull/402/files#r55922113">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ7hRP2qevf4dzbetpgGS2yOXy5Itks5pss2bgaJpZM4HvL8D.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-plugins/pull/402/files#r55922113"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>