fix: Fix documentation references

This commit is contained in:
Evan Welsh 2023-12-29 11:33:42 -06:00
parent 81ddd64886
commit de06097be0
2 changed files with 11 additions and 12 deletions

View File

@ -1751,7 +1751,7 @@ require_internal (GIRepository *repository,
* version @version of namespace may be specified. If @version is * version @version of namespace may be specified. If @version is
* not specified, the latest will be used. * not specified, the latest will be used.
* *
* Returns: (transfer none): a pointer to the [type@GIRepository.Typelib] if * Returns: (transfer none): a pointer to the [type@GITypelib.Typelib] if
* successful, `NULL` otherwise * successful, `NULL` otherwise
* Since: 2.80 * Since: 2.80
*/ */
@ -1790,7 +1790,7 @@ gi_repository_require (GIRepository *repository,
* version @version of namespace should be specified. If @version is * version @version of namespace should be specified. If @version is
* not specified, the latest will be used. * not specified, the latest will be used.
* *
* Returns: (transfer none): a pointer to the [type@GIRepository.Typelib] if * Returns: (transfer none): a pointer to the [type@GITypelib.Typelib] if
* successful, `NULL` otherwise * successful, `NULL` otherwise
* Since: 2.80 * Since: 2.80
*/ */

View File

@ -2299,7 +2299,7 @@ gi_typelib_validate (GITypelib *typelib,
/** /**
* gi_typelib_error_quark: * gi_typelib_error_quark:
* *
* Get the quark representing the [type@GIRepository.TypelibError] error domain. * Get the quark representing the [type@GITypelib.TypelibError] error domain.
* *
* Returns: quark representing the error domain * Returns: quark representing the error domain
* Since: 2.80 * Since: 2.80
@ -2325,8 +2325,7 @@ static GSList *library_paths;
* Multiple calls to this function all contribute to the final * Multiple calls to this function all contribute to the final
* list of paths. * list of paths.
* *
* The list of paths is unique and shared for all * The list of paths is unique and shared for across the process, but it doesnt
* [class@GIRepository.Repository] instances across the process, but it doesnt
* affect namespaces imported before the call. * affect namespaces imported before the call.
* *
* If the library is not found in the directories configured * If the library is not found in the directories configured
@ -2465,12 +2464,12 @@ gi_typelib_ensure_open (GITypelib *typelib)
* @len: length of memory chunk containing the typelib, in bytes * @len: length of memory chunk containing the typelib, in bytes
* @error: a [type@GLib.Error] * @error: a [type@GLib.Error]
* *
* Creates a new [type@GIRepository.Typelib] from a memory location. * Creates a new [type@GITypelib.Typelib] from a memory location.
* *
* The memory block pointed to by @typelib will be automatically freed when the * The memory block pointed to by @typelib will be automatically freed when the
* repository is destroyed. * repository is destroyed.
* *
* Returns: (transfer full): the new [type@GIRepository.Typelib] * Returns: (transfer full): the new [type@GITypelib.Typelib]
* Since: 2.80 * Since: 2.80
*/ */
GITypelib * GITypelib *
@ -2498,9 +2497,9 @@ gi_typelib_new_from_memory (guint8 *memory,
* @len: length of memory chunk containing the typelib * @len: length of memory chunk containing the typelib
* @error: a [type@GLib.Error] * @error: a [type@GLib.Error]
* *
* Creates a new [type@GIRepository.Typelib] from a memory location. * Creates a new [type@GITypelib.Typelib] from a memory location.
* *
* Returns: (transfer full): the new [type@GIRepository.Typelib] * Returns: (transfer full): the new [type@GITypelib.Typelib]
* Since: 2.80 * Since: 2.80
*/ */
GITypelib * GITypelib *
@ -2528,9 +2527,9 @@ gi_typelib_new_from_const_memory (const guchar *memory,
* the repository is destroyed * the repository is destroyed
* @error: a #GError * @error: a #GError
* *
* Creates a new [type@GIRepository.Typelib] from a [type@GLib.MappedFile]. * Creates a new [type@GITypelib.Typelib] from a [type@GLib.MappedFile].
* *
* Returns: (transfer full): the new [type@GIRepository.Typelib] * Returns: (transfer full): the new [type@GITypelib.Typelib]
* Since: 2.80 * Since: 2.80
*/ */
GITypelib * GITypelib *
@ -2557,7 +2556,7 @@ gi_typelib_new_from_mapped_file (GMappedFile *mfile,
* gi_typelib_free: * gi_typelib_free:
* @typelib: (transfer full): a #GITypelib * @typelib: (transfer full): a #GITypelib
* *
* Free a [type@GIRepository.Typelib]. * Free a [type@GITypelib.Typelib].
* *
* Since: 2.80 * Since: 2.80
*/ */