[goffice] Introspection fixes.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Introspection fixes.
- Date: Thu, 19 Apr 2018 12:49:10 +0000 (UTC)
commit 651e43abe650cef93c88e72be1260c44417d3d5f
Author: Morten Welinder <terra gnome org>
Date: Thu Apr 19 08:48:47 2018 -0400
Introspection fixes.
goffice/app/go-conf.c | 6 +++---
goffice/app/go-plugin.c | 8 ++++----
goffice/component/go-component-factory.c | 2 +-
goffice/utils/go-file.c | 2 +-
goffice/utils/go-font.c | 4 ++--
goffice/utils/go-glib-extras.c | 2 +-
6 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/goffice/app/go-conf.c b/goffice/app/go-conf.c
index 3c70759..4500f71 100644
--- a/goffice/app/go-conf.c
+++ b/goffice/app/go-conf.c
@@ -60,7 +60,7 @@ go_conf_closure_free (GOConfClosure *cls)
* go_conf_set_str_list:
* @node: #GOConfNode
* @key: configuration key
- * @list: (element-type char): the list of strings to set.
+ * @list: (element-type utf8): the list of strings to set.
*
* Sets @list as the value for @key.
**/
@@ -69,7 +69,7 @@ go_conf_closure_free (GOConfClosure *cls)
* @node: #GOConfNode
* @key: configuration key
*
- * Returns: (element-type char) (transfer full): a list of strings asociated
+ * Returns: (element-type utf8) (transfer full): a list of strings asociated
* with @key.
**/
/**
@@ -77,7 +77,7 @@ go_conf_closure_free (GOConfClosure *cls)
* @node: #GOConfNode
* @key: configuration key
*
- * Returns: (element-type char) (transfer full): a list of strings asociated
+ * Returns: (element-type utf8) (transfer full): a list of strings asociated
* with @key.
**/
/**
diff --git a/goffice/app/go-plugin.c b/goffice/app/go-plugin.c
index b7297d7..f00009e 100644
--- a/goffice/app/go-plugin.c
+++ b/goffice/app/go-plugin.c
@@ -1787,9 +1787,9 @@ go_plugins_set_dirs (GSList *plugin_dirs)
/**
* go_plugins_init:
* @context: (allow-none): #GOCmdContext used to report errors
- * @known_states: (allow-none) (element-type char): A list of known states (defined how ?)
- * @active_plugins: (allow-none) (element-type char): A list of active plugins
- * @plugin_dirs: (allow-none) (element-type char): a list of directories to search for plugins
+ * @known_states: (allow-none) (element-type utf8): A list of known states (defined how ?)
+ * @active_plugins: (allow-none) (element-type utf8): A list of active plugins
+ * @plugin_dirs: (allow-none) (element-type utf8): a list of directories to search for plugins
* @activate_new_plugins: activate plugins we have no seen before.
* @default_loader_type: importer to use by default.
*
@@ -1900,7 +1900,7 @@ ghf_collect_used_plugin_state_strings (gpointer key, gpointer value, gpointer us
* exiting the application. Some plugins may be left active or in broken
* state, so calling plugins_init again will NOT work properly.
*
- * Returns: (element-type char) (transfer full): the list of plugins still in
+ * Returns: (element-type utf8) (transfer full): the list of plugins still in
* use.
*/
GSList *
diff --git a/goffice/component/go-component-factory.c b/goffice/component/go-component-factory.c
index f478bfc..d7c5fb6 100644
--- a/goffice/component/go-component-factory.c
+++ b/goffice/component/go-component-factory.c
@@ -285,7 +285,7 @@ _goc_plugin_services_shutdown (void)
/**
* go_components_get_mime_types:
*
- * Returns: (element-type char) (transfer none): the list of mime types
+ * Returns: (element-type utf8) (transfer none): the list of mime types
* supported by at least one registered component.
**/
GSList *
diff --git a/goffice/utils/go-file.c b/goffice/utils/go-file.c
index 4229828..dad3c72 100644
--- a/goffice/utils/go-file.c
+++ b/goffice/utils/go-file.c
@@ -649,7 +649,7 @@ go_file_create (char const *uri, GError **err)
* @data: a string filled with a list of URIs separated by new lines.
*
* Splits the chain into a list of URIs. Lines starting with '#' are ignored.
- * Returns: (element-type char) (transfer full): the URIs list.
+ * Returns: (element-type utf8) (transfer full): the URIs list.
**/
GSList *
go_file_split_urls (char const *data)
diff --git a/goffice/utils/go-font.c b/goffice/utils/go-font.c
index 2a91e5b..ce8bdd6 100644
--- a/goffice/utils/go-font.c
+++ b/goffice/utils/go-font.c
@@ -188,8 +188,8 @@ go_font_cache_unregister (GClosure *watcher)
* go_fonts_list_families:
* @context: #PangoContext
*
- * Returns: (element-type char) (transfer full): a sorted list of strings of
- * font family names. The list and the names must be freed.
+ * Returns: (element-type utf8) (transfer full): a sorted list of strings of
+ * font family names.
**/
GSList *
go_fonts_list_families (PangoContext *context)
diff --git a/goffice/utils/go-glib-extras.c b/goffice/utils/go-glib-extras.c
index 3d91f47..4c2fd73 100644
--- a/goffice/utils/go-glib-extras.c
+++ b/goffice/utils/go-glib-extras.c
@@ -170,7 +170,7 @@ go_list_index_custom (GList *list, gpointer data, GCompareFunc cmp_func)
*
* Splits up string into tokens at delim and returns a string list.
*
- * Returns: (element-type char) (transfer full): string list which you should
+ * Returns: (element-type utf8) (transfer full): string list which you should
* free after use using function g_slist_free_full(), using g_free as second
* argument.
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]