get_default


Description:

public static unowned Repository get_default ()

Returns the singleton process-global default Repository.

It is not currently supported to have multiple repositories in a particular process, but this function is provided in the unlikely eventuality that it would become possible, and as a convenience for higher level language bindings to conform to the GObject method call conventions.

All methods on Repository also accept null as an instance parameter to mean this default repository, which is usually more convenient for C.

Returns:

The global singleton Repository