[gnome-dictionary] gdict: Fix introspection annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dictionary] gdict: Fix introspection annotations
- Date: Mon, 23 Feb 2015 15:32:52 +0000 (UTC)
commit d864ca5275baaa3a6138986027eb6d8a71ce6c4a
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Feb 23 12:41:15 2015 +0000
gdict: Fix introspection annotations
This brings down the number of g-ir-scanner warnings to zero.
https://bugzilla.gnome.org/show_bug.cgi?id=745022
libgdict/gdict-source.c | 5 ++---
libgdict/gdict-speller.c | 2 +-
libgdict/gdict-utils.c | 4 ++--
3 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/libgdict/gdict-source.c b/libgdict/gdict-source.c
index 0fb1e80..eb69215 100644
--- a/libgdict/gdict-source.c
+++ b/libgdict/gdict-source.c
@@ -1127,7 +1127,7 @@ gdict_source_set_transportv (GdictSource *source,
* @transport: a valid transport
* @first_transport_property: property for the context bound to
* the transport, or %NULL
- * @Varargs: property value for first property name, then additionary
+ * @...: property value for first property name, then additionary
* properties, ending with %NULL
*
* Sets @transport as the choosen transport for @source. The @transport
@@ -1223,8 +1223,7 @@ gdict_source_get_context (GdictSource *source)
* referenced copy of the context held by @source; if you want a different
* instance, use gdict_source_get_context().
*
- * Return value: a referenced #GdictContext. Use g_object_unref() when
- * finished using it.
+ * Return value: (transfer full): a referenced #GdictContext.
*
* Since: 1.0
*/
diff --git a/libgdict/gdict-speller.c b/libgdict/gdict-speller.c
index 992ba76..845ddf1 100644
--- a/libgdict/gdict-speller.c
+++ b/libgdict/gdict-speller.c
@@ -811,7 +811,7 @@ gdict_speller_count_matches (GdictSpeller *speller)
*
* FIXME
*
- * Return value: FIXME
+ * Return value: (transfer full): FIXME
*
* Since: FIXME
*/
diff --git a/libgdict/gdict-utils.c b/libgdict/gdict-utils.c
index 5b81d04..b6041f6 100644
--- a/libgdict/gdict-utils.c
+++ b/libgdict/gdict-utils.c
@@ -139,11 +139,11 @@ post_parse_hook (GOptionContext *context,
}
/**
- * gdict_get_option_group:
+ * gdict_get_option_group: (skip)
*
* FIXME
*
- * Return value: FIXME
+ * Return value: (transfer full): FIXME
*
* Since: 0.12
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]