[Github-comments] [geany] Proxy plugins (#629)

Colomban Wendling notifications at xxxxx
Thu Sep 24 19:46:35 UTC 2015


>  		fname = g_build_filename(path, item->data, NULL);
> -		if (plugin_new(fname, FALSE, TRUE))
> -			count++;
> +		proxy = is_plugin(fname);
> +		if (proxy != NULL)
> +		{
> +			if (plugin_new(proxy->plugin, fname, FALSE, TRUE))

those two tests could be combined in a single `if()` (no biggie)

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/629/files#r40363668
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20150924/9d78b48a/attachment.html>


More information about the Github-comments mailing list