[Github-comments] [geany/geany-plugins] Workbench (#598)

Colomban Wendling notifications at xxxxx
Fri Aug 18 23:43:15 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170818/a5955011/attachment.html>


More information about the Github-comments mailing list