[geocode-glib/wip/nominatim: 8/8] tmp



commit 114bab438edd80747b13998526b3de57f154af97
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Jun 20 17:01:48 2013 +0200

    tmp

 geocode-glib/Makefile.am       |    2 +-
 geocode-glib/geocode-forward.c |    6 ++++++
 geocode-glib/test-gcglib.c     |    1 +
 3 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/geocode-glib/Makefile.am b/geocode-glib/Makefile.am
index dbcfbcc..adec16a 100644
--- a/geocode-glib/Makefile.am
+++ b/geocode-glib/Makefile.am
@@ -1,6 +1,6 @@
 include $(top_srcdir)/Makefile.decl
 
-SUBDIRS = geocode-ip-server
+SUBDIRS =
 
 EXTRA_DIST = geocode-glib.symbols
 
diff --git a/geocode-glib/geocode-forward.c b/geocode-glib/geocode-forward.c
index eed38e4..99c8166 100644
--- a/geocode-glib/geocode-forward.c
+++ b/geocode-glib/geocode-forward.c
@@ -349,6 +349,12 @@ get_search_query_for_params (GeocodeForward *forward,
 
        /* Prepare the query parameters */
        ht = _geocode_glib_dup_hash_table (forward->priv->ht);
+        /*g_print ("all keys: ");
+        GList *keys = g_hash_table_get_keys (ht);
+        GList *iter;
+        for (iter = keys; iter; iter = iter->next)
+            g_print ("%s, ", (char *) iter->data);
+        g_print ("\n");*/
        g_hash_table_insert (ht, "format", "json");
        g_hash_table_insert (ht, "email", "zeeshanak gnome org");
        g_hash_table_insert (ht, "addressdetails", "1");
diff --git a/geocode-glib/test-gcglib.c b/geocode-glib/test-gcglib.c
index 36f8a4b..744f31e 100644
--- a/geocode-glib/test-gcglib.c
+++ b/geocode-glib/test-gcglib.c
@@ -153,6 +153,7 @@ test_xep (void)
 
        tp = g_hash_table_new_full (g_str_hash, g_str_equal,
                                    g_free, g_free);
+       //add_attr (tp, "country", "United Kingdom");
        add_attr (tp, "region", "England");
        add_attr (tp, "county", "Surrey");
        add_attr (tp, "locality", "Guildford");


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