mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
Don't g_list_prepend one list to another. Pointed out by Jan Arne Petersen
* giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend one list to another. Pointed out by Jan Arne Petersen svn path=/trunk/; revision=7103
This commit is contained in:
@@ -341,7 +341,7 @@ _g_io_modules_ensure_loaded (void)
|
||||
|
||||
while (paths[i] != NULL)
|
||||
{
|
||||
modules = g_list_prepend (modules, g_io_modules_load_all_in_directory (paths[i]));
|
||||
modules = g_list_concat (modules, g_io_modules_load_all_in_directory (paths[i]));
|
||||
i++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user