gplugin/gplugin

Parents fffd2320f8e8
Children ec46fc871c74
make an error message in the native loader a bit more helpful.. this needs rewording, but it's fine for now
--- a/gplugin/gplugin-native-loader.c Wed May 28 11:07:27 2014 -0500
+++ b/gplugin/gplugin-native-loader.c Wed May 28 14:09:18 2014 -0500
@@ -133,9 +133,11 @@
g_module_close(module);
if(error) {
+ const gchar *msg = g_module_error();
+
*error = g_error_new(GPLUGIN_DOMAIN, 0,
_("the query function did not return a "
- "GPluginPluginInfo instance"));
+ "GPluginPluginInfo instance: %s"), msg);
}
return NULL;