| 1373 while ((file = g_dir_read_name(dir)) != NULL) |
1373 while ((file = g_dir_read_name(dir)) != NULL) |
| 1374 { |
1374 { |
| 1375 path = g_build_filename(search_path, file, NULL); |
1375 path = g_build_filename(search_path, file, NULL); |
| 1376 |
1376 |
| 1377 if (ext == NULL || has_file_extension(file, ext)) |
1377 if (ext == NULL || has_file_extension(file, ext)) |
| 1378 plugin = purple_plugin_probe(path); |
1378 purple_plugin_probe(path); |
| 1379 |
1379 |
| 1380 g_free(path); |
1380 g_free(path); |
| 1381 } |
1381 } |
| 1382 |
1382 |
| 1383 g_dir_close(dir); |
1383 g_dir_close(dir); |