[geocode-glib] lib: Add introspection annotations
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] lib: Add introspection annotations
- Date: Mon, 9 May 2011 12:39:19 +0000 (UTC)
commit a8d6e3cc5400148f9c8c861d6961b7e7fda19277
Author: Bastien Nocera <hadess hadess net>
Date: Mon May 9 13:38:39 2011 +0100
lib: Add introspection annotations
TODO | 1 -
geocode-glib/geocode-glib.c | 6 ++++--
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/TODO b/TODO
index bd24950..596ddf1 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,4 @@
- More test cases
-- Add GI annotations
- Finish API docs
- Write examples
diff --git a/geocode-glib/geocode-glib.c b/geocode-glib/geocode-glib.c
index cecc2b7..1c7b6b7 100644
--- a/geocode-glib/geocode-glib.c
+++ b/geocode-glib/geocode-glib.c
@@ -593,7 +593,8 @@ geocode_object_resolve_async (GeocodeObject *object,
*
* Finishes a query operation. See geocode_object_resolve_async().
*
- * Returns: a #GHashTable containing the results of the query
+ * Returns: (element-type utf8 utf8) (transfer full):
+ * a #GHashTable containing the results of the query
* or %NULL in case of errors.
* Free the returned string with g_hash_table_destroy() when done.
**/
@@ -628,7 +629,8 @@ out:
* Gets the result of a geocoding or reverse geocoding
* query using a web service.
*
- * Returns: a #GHashTable containing the results of the query
+ * Returns: (element-type utf8 utf8) (transfer full):
+ * a #GHashTable containing the results of the query
* or %NULL in case of errors.
* Free the returned string with g_hash_table_destroy() when done.
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]