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

Reply via email to