mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01: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:
parent
eba8246ce5
commit
0741dea88f
@ -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>
|
2008-06-28 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
* gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
|
* gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
|
||||||
|
@ -341,7 +341,7 @@ _g_io_modules_ensure_loaded (void)
|
|||||||
|
|
||||||
while (paths[i] != NULL)
|
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++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user