{
GSList* files;
GDir* addon_dir;
- GSList* list;
GSList* directories;
const gchar* filename;
gchar* dirname;
files = NULL;
directories = addons_get_directories (kind);
- list = directories;
while (directories)
{
dirname = directories->data;
directories = g_slist_next (directories);
}
- g_slist_free (list);
g_free (file_extension);
return files;
AddonsKind kind)
{
GSList* directories;
- GSList* list;
GError* error;
GSList* monitors;
GFileMonitor* monitor;
monitors = g_object_get_data (G_OBJECT (extension), "monitors");
directories = addons_get_directories (kind);
- list = directories;
while (directories)
{
directory = g_file_new_for_path (directories->data);