b4n commented on this pull request.


> +     /* Set metadata */
+       plugin->info->name = _("Workbench");
+       plugin->info->description = _("Manage and customize multiple 
projects.");
+       plugin->info->version = "1.0";
+       plugin->info->author = "LarsGit223";
+
+       /* Set functions */
+       plugin->funcs->init = plugin_workbench_init;
+       plugin->funcs->cleanup = plugin_workbench_cleanup;
+       plugin->funcs->help = plugin_workbench_help;
+       plugin->funcs->callbacks = plugin_workbench_callbacks;
+
+       /* Register! */
+       if (GEANY_PLUGIN_REGISTER(plugin, 225))
+       {
+               return;

Oops :)  We should probably improve the example suggesting why a conditional 
might be useful instead of a useless code path indeed

-- 
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/598#discussion_r134074056

Reply via email to