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

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


b4n commented on this pull request.



> +/* Cleanup plugin */
+static void plugin_workbench_cleanup(GeanyPlugin *plugin, gpointer pdata)
+{
+	menu_cleanup();
+	sidebar_cleanup();
+}
+
+
+/* Show help */
+static void plugin_workbench_help (GeanyPlugin *plugin, gpointer pdata)
+{
+	utils_open_browser("http://plugins.geany.org/workbench.html");
+}
+
+
+PluginCallback plugin_workbench_callbacks[] = {

@codebrainz not exactly, the part you linked is the old plugin interface where the variable is looked up by Geany on plugin load, @LarsGit223's plugin uses the new interface which passes the callback through the plugin registration call.

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


More information about the Github-comments mailing list