@b4n commented on this pull request.


In workbench/src/plugin_main.c:

> +/* 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, view it on GitHub, or mute the thread.