mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 04:02:09 +01:00
fix regression on invoke test case by making sure we load the global
2008-10-09 Lucas Rocha <lucasr@gnome.org> * girepository/girepository.c (register_internal): fix regression on invoke test case by making sure we load the global module in the typelib when dealing with inline typelibs. * girepository/gtypelib.c: a couple of coding style fixes. svn path=/trunk/; revision=661
This commit is contained in:
parent
728beb0424
commit
a0d5227db5
@ -252,6 +252,9 @@ register_internal (GIRepository *repository,
|
||||
g_hash_table_insert (repository->priv->typelibs, key, (void *)typelib);
|
||||
}
|
||||
|
||||
if (typelib->modules == NULL)
|
||||
typelib->modules = g_list_append(typelib->modules, g_module_open (NULL, 0));
|
||||
|
||||
return namespace;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user