Steve Frécinaux 2b07f1ed31 Include the loaded version in g_irepository_enumerate_versions()
Logically speaking, the already loaded version of a namespace is part of
the currently available versions, and can be forgotten if we only
consider the versions available in GI_TYPELIB_PATH, as it could have
been loaded using g_irepository_require_private().

As a side effect, it meant that bindings relying on enumerate_version()
(like pygobject) were not able to require private versions through their
classical requirement scheme.

This patch fixes it by adding the loaded version to the unsorted list of
available versions returned by g_irepository_enumerate_versions()

This patch also uses g_list_prepend() instead of g_list_append() in that
function.

https://bugzilla.gnome.org/show_bug.cgi?id=625983
2010-08-18 20:07:18 +02:00
2010-08-17 13:12:52 -04:00
2010-06-06 22:47:21 -03:00
2010-08-17 13:14:51 -04:00
2010-08-17 13:14:51 -04:00
2010-08-17 13:14:51 -04:00
2010-08-17 13:14:51 -04:00
2010-08-17 13:14:51 -04:00
2010-08-17 13:14:51 -04:00
2010-08-17 13:14:51 -04:00
2010-07-19 17:48:17 -04:00
Description
Low-level core library that forms the basis for projects such as GTK+ and GNOME.
132 MiB
Languages
C 95.3%
Python 2.3%
Meson 1.3%
Objective-C 0.3%
Shell 0.2%
Other 0.5%