[geany/geany] 39b894: Simplify confusing plugin howto code example
Matthew Brush
git-noreply at xxxxx
Mon Dec 4 12:51:49 UTC 2017
Branch: refs/heads/master
Author: Matthew Brush <matt at geany.org>
Committer: Matthew Brush <matt at geany.org>
Date: Mon, 04 Dec 2017 12:51:49 UTC
Commit: 39b894c3d8c47faca2d10fd600c5a08fe8eabe55
https://github.com/geany/geany/commit/39b894c3d8c47faca2d10fd600c5a08fe8eabe55
Log Message:
-----------
Simplify confusing plugin howto code example
Modified Paths:
--------------
doc/plugins.dox
Modified: doc/plugins.dox
3 lines changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -341,8 +341,7 @@ void geany_load_module(GeanyPlugin *plugin)
plugin->funcs->cleanup = hello_cleanup;
/* Step 3: Register! */
- if (GEANY_PLUGIN_REGISTER(plugin, 225))
- return;
+ GEANY_PLUGIN_REGISTER(plugin, 225);
/* alternatively:
GEANY_PLUGIN_REGISTER_FULL(plugin, 225, data, free_func); */
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list