[Github-comments] [geany/geany-plugins] commander: use new plugin API. (#703)
LarsGit223
notifications at xxxxx
Tue Feb 27 18:58:32 UTC 2018
LarsGit223 commented on this pull request.
> @@ -32,18 +32,8 @@
/*#define DISPLAY_SCORE 1*/
-GeanyPlugin *geany_plugin;
-GeanyData *geany_data;
-
-PLUGIN_VERSION_CHECK(226)
-
-PLUGIN_SET_TRANSLATABLE_INFO (
- LOCALEDIR, GETTEXT_PACKAGE,
- _("Commander"),
- _("Provides a command panel for quick access to actions, files and more"),
- VERSION,
- "Colomban Wendling <ban at herbesfolles.org>"
-)
+static GeanyPlugin *geany_plugin = NULL;
+static GeanyData *geany_data = NULL;
How? Move them into ```struct plugin_data``` or try to pass them as user pointers, e.g. from ```plugin_commander_init()``` to ```on_plugin_idle_init (-->create_panel...)```.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/703#discussion_r171029727
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180227/662d496d/attachment.html>
More information about the Github-comments
mailing list