summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--giscanner/mallard-C-function.tmpl2
-rw-r--r--tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_dependencies.page2
-rw-r--r--tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_loaded_namespaces.page2
3 files changed, 3 insertions, 3 deletions
diff --git a/giscanner/mallard-C-function.tmpl b/giscanner/mallard-C-function.tmpl
index 5cab7649..2da4710f 100644
--- a/giscanner/mallard-C-function.tmpl
+++ b/giscanner/mallard-C-function.tmpl
@@ -43,7 +43,7 @@ elif node.is_method:
</info>
<title>${node.symbol}</title>
<synopsis><code mime="text/x-csrc">
-${formatter.format_type(node.retval.type) | x} ${node.symbol} (\
+${node.retval.type.ctype} ${node.symbol} (\
% if node.is_method:
${node.parent.ctype} *self\
%endif
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_dependencies.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_dependencies.page
index b21e82fe..69eab53a 100644
--- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_dependencies.page
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_dependencies.page
@@ -25,7 +25,7 @@
</info>
<title>g_irepository_get_dependencies</title>
<synopsis><code mime="text/x-csrc">
-utf8* g_irepository_get_dependencies (GIRepository *self,
+gchar** g_irepository_get_dependencies (GIRepository *self,
gchar* namespace_);
</code></synopsis>
<p>Return an array of all (transitive) dependencies for namespace
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_loaded_namespaces.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_loaded_namespaces.page
index b82afb75..1c42c7dc 100644
--- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_loaded_namespaces.page
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_loaded_namespaces.page
@@ -21,7 +21,7 @@
</info>
<title>g_irepository_get_loaded_namespaces</title>
<synopsis><code mime="text/x-csrc">
-utf8* g_irepository_get_loaded_namespaces (GIRepository *self);
+gchar** g_irepository_get_loaded_namespaces (GIRepository *self);
</code></synopsis>
<p>Return the list of currently loaded namespaces.</p>