Fix the loadable module name checking.
This commit is contained in:
@@ -114,7 +114,7 @@ load_plugins (MMManager *manager)
|
|||||||
char *path;
|
char *path;
|
||||||
MMPlugin *plugin;
|
MMPlugin *plugin;
|
||||||
|
|
||||||
if (!strstr (fname, G_MODULE_SUFFIX))
|
if (!g_str_has_suffix (fname, G_MODULE_SUFFIX))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
path = g_module_build_path (PLUGINDIR, fname);
|
path = g_module_build_path (PLUGINDIR, fname);
|
||||||
|
Reference in New Issue
Block a user