Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
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
gdump.c [girepository] Fix up error printing 2010-08-17 13:12:52 -04:00
giarginfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
giarginfo.h [girepository] Move GIArgInfo out of ginfo.ch 2010-06-05 12:40:34 -03:00
gibaseinfo.c Allow attributes on parameters and return values 2010-06-24 11:53:18 -04:00
gibaseinfo.h Remove left-over comments 2010-06-06 22:47:21 -03:00
gicallableinfo.c Allow attributes on parameters and return values 2010-06-24 11:53:18 -04:00
gicallableinfo.h Allow attributes on parameters and return values 2010-06-24 11:53:18 -04:00
giconstantinfo.c Don't include machine-dependent integral types in the typelib 2010-07-09 14:15:52 -04:00
giconstantinfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
gienuminfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gienuminfo.h [girepository] Move GIEnumInfo out of ginfo.ch 2010-06-06 13:09:08 -03:00
gierrordomaininfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gierrordomaininfo.h [girepository] Move GIErrorDomainInfo out of ginfo.ch 2010-06-06 13:01:26 -03:00
gifieldinfo.c Don't include machine-dependent integral types in the typelib 2010-07-09 14:15:52 -04:00
gifieldinfo.h [gfield] Move over field set/get impl. 2010-06-06 13:27:12 -03:00
gifunctioninfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gifunctioninfo.h [gifunction.h] Move GIFunctionInfoFlags to gitypes.h 2010-06-06 19:55:00 -03:00
giinterfaceinfo.c [GIVInterfaceInfo] Document and check args 2010-06-12 11:14:36 -03:00
giinterfaceinfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
ginvoke.c [gifunctioninfo] Move over invoke function 2010-06-06 13:27:16 -03:00
giobjectinfo.c Add support for non-GObject fundamental objects 2010-07-09 10:15:45 -03:00
giobjectinfo.h Add support for non-GObject fundamental objects 2010-07-09 10:15:45 -03:00
gipropertyinfo.c [g_property_info_get_flags] Document properly 2010-06-11 21:06:02 -03:00
gipropertyinfo.h Support the (transfer) annotation for properties. 2010-06-08 17:35:12 +02:00
giregisteredtypeinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
giregisteredtypeinfo.h Add support for non-GObject fundamental objects 2010-07-09 10:15:45 -03:00
girepository-private.h [girepository-private] Add ffi declarations 2010-07-28 09:01:33 -03:00
girepository.c Include the loaded version in g_irepository_enumerate_versions() 2010-08-18 20:07:18 +02:00
girepository.h Add new API g_typelib_require_private() 2010-08-03 23:36:54 +02:00
girffi.c Don't include machine-dependent integral types in the typelib 2010-07-09 14:15:52 -04:00
girffi.h [girepository] Document most of the structs 2010-05-18 18:11:58 -03:00
girmodule.c [gircompiler] Clean up parsing 2010-08-17 13:14:51 -04:00
girmodule.h [gircompiler] Clean up parsing 2010-08-17 13:14:51 -04:00
girnode.c [gircompiler] Clean up parsing 2010-08-17 13:14:51 -04:00
girnode.h [gircompiler] Clean up parsing 2010-08-17 13:14:51 -04:00
giroffsets.c [gircompiler] Clean up parsing 2010-08-17 13:14:51 -04:00
girparser.c [gircompiler] Clean up parsing 2010-08-17 13:14:51 -04:00
girparser.h [gircompiler] Clean up parsing 2010-08-17 13:14:51 -04:00
girwriter.c Don't include machine-dependent integral types in the typelib 2010-07-09 14:15:52 -04:00
girwriter.h [girwriter] Refactor out of generate.c 2010-06-07 10:52:43 -03:00
gisignalinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gisignalinfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
gistructinfo.c [girepository] Don't include girffi.h everywhere 2010-06-06 23:17:46 -03:00
gistructinfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
gitypeinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
gitypeinfo.h Add g_info_type_to_string (GIInfoType type) 2010-07-28 12:24:10 +02:00
gitypelib-internal.h Add BLOB_TYPE_FLAGS to BLOB_IS_REGISTERED_TYPE 2010-07-28 16:35:47 +02:00
gitypelib.c Fix two compilation warnings 2010-07-19 17:48:17 -04:00
gitypelib.h [girepository] Actually verify header of loaded typelibs in g_irepository_require 2010-07-14 11:59:11 -04:00
gitypes.h Don't include machine-dependent integral types in the typelib 2010-07-09 14:15:52 -04:00
giunioninfo.c [girepository] Don't include girffi.h everywhere 2010-06-06 23:17:46 -03:00
giunioninfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
givfuncinfo.c [docs] Add struct hierarchy to each section 2010-06-11 20:16:00 -03:00
givfuncinfo.h [girepository] Move the rest out of ginfo.ch 2010-06-06 19:54:53 -03:00
glib-compat.h Substitute deprecated Glib symbol: g_mapped_file_free 2009-12-15 11:06:50 -02:00
Makefile.am Bump shared library version, typelib version 2010-07-09 14:15:52 -04:00