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 <[email protected]>"
-)
+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