diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.page | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.page index e156e6cd..87dd1ae2 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.page @@ -9,16 +9,16 @@ </info> <title>GIRepositoryBaseInfo</title> <p>GIBaseInfo is the common base struct of all other *Info structs -accessible through the <link xref="GIRepository.Repository">GIRepository</link> API. -All other structs can be casted to a <link xref="GIRepository.BaseInfo">GIBaseInfo</link>, for instance: +accessible through the <link xref="GIRepository.Repository">GIRepository.Repository</link> API. +All other structs can be casted to a <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link>, for instance: <example> -<title>Casting a <link xref="GIRepository.FunctionInfo">GIFunctionInfo</link> to <link xref="GIRepository.BaseInfo">GIBaseInfo</link></title> +<title>Casting a <link xref="GIRepository.FunctionInfo">GIRepository.FunctionInfo</link> to <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link></title> <programlisting> GIFunctionInfo *function_info = ...; GIBaseInfo *info = (GIBaseInfo*)function_info; </programlisting> </example> -Most <link xref="GIRepository.Repository">GIRepository</link> APIs returning a <link xref="GIRepository.BaseInfo">GIBaseInfo</link> is actually creating a new struct, in other +Most <link xref="GIRepository.Repository">GIRepository.Repository</link> APIs returning a <link xref="GIRepository.BaseInfo">GIRepository.BaseInfo</link> is actually creating a new struct, in other words, g_base_info_unref() has to be called when done accessing the data. GIBaseInfos are normally accessed by calling either g_irepository_find_by_name(), g_irepository_find_by_gtype() or g_irepository_get_info().</p><p><example> |