I added `geany_plugin_set_data()` for proxy plugins so that the proxy can set 
context per sub-plugin. The proxy can later use that context act on the actual 
plugin in the proxy functions.

@codebrainz seems to have added `geany_plugin_get_data()` just because there 
was no corresponding getter. But it doesn't actually work fork plugins without 
GEANY_API_SYMBOL.

I don't mind this PR, if it adds convinience, but it seems unnecessary (the 
getter seems unnecessary) as the plugin already has the data (how else can it 
call `geany_plugin_set_data()`?). Proxy plugins are the exception because they 
provide multiplexing callbacks on behalf of sub-plugins.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3356#issuecomment-1365136549
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3356/[email protected]>

Reply via email to