[geocode-glib] lib: Correct docs/annotation for geocode_forward_search*



commit 8e34a7f9221f686c02962bd2c5beec67186bf6cd
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Mar 19 02:52:18 2013 +0200

    lib: Correct docs/annotation for geocode_forward_search*

 geocode-glib/geocode-forward.c |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/geocode-glib/geocode-forward.c b/geocode-glib/geocode-forward.c
index deaad97..33a7202 100644
--- a/geocode-glib/geocode-forward.c
+++ b/geocode-glib/geocode-forward.c
@@ -470,10 +470,9 @@ geocode_forward_search_async (GeocodeForward      *forward,
  *
  * Finishes a forward geocoding operation. See geocode_forward_search_async().
  *
- * Returns: (element-type GHashTable) (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.
+ * Returns: (element-type GeocodeLocation) (transfer container): A list of
+ * locations or %NULL in case of errors. Free the returned list with
+ * g_list_free() when done.
  **/
 GList *
 geocode_forward_search_finish (GeocodeForward       *forward,
@@ -769,10 +768,9 @@ parse:
  * Gets the result of a forward geocoding
  * query using a web service.
  *
- * Returns: (element-type GHashTable) (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.
+ * Returns: (element-type GeocodeLocation) (transfer container): A list of
+ * locations or %NULL in case of errors. Free the returned list with
+ * g_list_free() when done.
  **/
 GList *
 geocode_forward_search (GeocodeForward      *forward,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]