[gnome-dictionary] gdict: Fix DatabaseChooserButton annotations
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dictionary] gdict: Fix DatabaseChooserButton annotations
- Date: Wed, 31 Aug 2016 16:16:11 +0000 (UTC)
commit 94b8a877c459c95f56f5415edc261e9d4b03222c
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Aug 31 17:11:29 2016 +0100
gdict: Fix DatabaseChooserButton annotations
At least, make an attempt at being introspectable.
libgdict/gdict-database-chooser-button.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgdict/gdict-database-chooser-button.c b/libgdict/gdict-database-chooser-button.c
index 5a11063..1638ce7 100644
--- a/libgdict/gdict-database-chooser-button.c
+++ b/libgdict/gdict-database-chooser-button.c
@@ -475,7 +475,7 @@ gdict_database_chooser_button_new (void)
}
/**
- * gdict_database_chooser_button_new_with_context:
+ * gdict_database_chooser_button_new_with_context: (constructor)
* @context: a #GdictContext
*
* Creates a new #GdictDatabaseChooserButton, using @context as the representation
@@ -541,12 +541,12 @@ gdict_database_chooser_button_set_context (GdictDatabaseChooserButton *chooser,
/**
* gdict_database_chooser_button_get_databases:
* @chooser: a #GdictDatabaseChooserButton
- * @length: return location for the length of the returned vector
+ * @length: (out): return location for the length of the returned vector
*
* Gets the list of available database names.
*
- * Return value: (transfer full): a newly allocated, %NULL terminated string vector
- * containing database names. Use g_strfreev() to deallocate it.
+ * Return value: (transfer full) (array zero-terminated=1): a newly allocated
+ * string vector containing database names.
*
* Since: 0.10
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]