gplugin/gplugin

290ee8d6c33f
Merged in bugfix/pvs-studio-g-set-error-fix (pull request #34)

use g_error_set_literal when we're not passing a format string

Approved-by: Elliott Sales de Andrade
--- a/gplugin/gplugin-manager.c Mon Sep 30 03:46:51 2019 +0000
+++ b/gplugin/gplugin-manager.c Mon Sep 30 04:53:43 2019 +0000
@@ -849,8 +849,8 @@
loader = gplugin_plugin_get_loader(plugin);
if(!GPLUGIN_IS_LOADER(loader)) {
- g_set_error(error, GPLUGIN_DOMAIN, 0,
- _("Plugin loader is not a loader"));
+ g_set_error_literal(error, GPLUGIN_DOMAIN, 0,
+ _("Plugin loader is not a loader"));
return FALSE;
}