[...]
All this said, a counter argument is that many plugins will load external UI for configure(), and there we have no way to fail either.
So anyway, I think I'd be in favor of a failable init(), maybe like
gboolean (*init) (..., GError **error);
if we want to be able to report messages and the like. Or just let each plugin do the same msgwing_add() or whatever, but a common integrated thing might be worth it.
Allow both, the plugin can log a message (I'd recommend a normal debug message) and return false to exclude itself from the PM.
Cheers Lex
Regards, Colomban _______________________________________________ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel