Fix the loadable module name checking.

This commit is contained in:
Tambet Ingo
2008-09-16 13:10:44 +03:00
parent f1acf5aaec
commit e0c720e19c
+1 -1
View File
@@ -114,7 +114,7 @@ load_plugins (MMManager *manager)
char *path;
MMPlugin *plugin;
if (!strstr (fname, G_MODULE_SUFFIX))
if (!g_str_has_suffix (fname, G_MODULE_SUFFIX))
continue;
path = g_module_build_path (PLUGINDIR, fname);