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:
Matthias Clasen 2008-06-30 02:44:52 +00:00
parent eba8246ce5
commit 0741dea88f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-06-29 Matthias Clasen <mclasen@redhat.com>
Bug 540802 g_list_prepend doesn't concat lists
* giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
one list to another. Pointed out by Jan Arne Petersen
2008-06-28 Michael Natterer <mitch@imendio.com>
* gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().

View File

@ -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++;
}