[geocode-glib] lib: Remove _set_lookup_type() from private API
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] lib: Remove _set_lookup_type() from private API
- Date: Sun, 25 Nov 2012 02:00:11 +0000 (UTC)
commit 2b93c8703ed59d04d811c91ce4024095c0195193
Author: Bastien Nocera <hadess hadess net>
Date: Sat Nov 3 00:33:29 2012 +0100
lib: Remove _set_lookup_type() from private API
It very soon won't be needed.
geocode-glib/geocode-glib-private.h | 2 --
geocode-glib/geocode-glib.c | 9 ---------
geocode-glib/geocode-glib.symbols | 1 -
geocode-glib/test-gcglib.c | 6 ++++--
4 files changed, 4 insertions(+), 14 deletions(-)
---
diff --git a/geocode-glib/geocode-glib-private.h b/geocode-glib/geocode-glib-private.h
index 1f44272..08fe408 100644
--- a/geocode-glib/geocode-glib-private.h
+++ b/geocode-glib/geocode-glib-private.h
@@ -38,8 +38,6 @@ GHashTable *_geocode_parse_resolve_json (const char *contents,
GError **error);
GList * _geocode_parse_search_json (const char *contents,
GError **error);
-void _geocode_object_set_lookup_type (GeocodeObject *object,
- GeocodeLookupType type);
G_END_DECLS
diff --git a/geocode-glib/geocode-glib.c b/geocode-glib/geocode-glib.c
index e00055b..2020503 100644
--- a/geocode-glib/geocode-glib.c
+++ b/geocode-glib/geocode-glib.c
@@ -81,15 +81,6 @@ geocode_object_init (GeocodeObject *object)
g_free, g_free);
}
-void
-_geocode_object_set_lookup_type (GeocodeObject *object,
- GeocodeLookupType type)
-{
- g_return_if_fail (GEOCODE_IS_OBJECT (object));
-
- object->priv->type = type;
-}
-
static char *
geocode_object_cache_path_for_query (GFile *query)
{
diff --git a/geocode-glib/geocode-glib.symbols b/geocode-glib/geocode-glib.symbols
index a54b524..ac95c9c 100644
--- a/geocode-glib/geocode-glib.symbols
+++ b/geocode-glib/geocode-glib.symbols
@@ -18,4 +18,3 @@ geocode_object_search
geocode_object_get_coords
_geocode_parse_search_json
_geocode_parse_resolve_json
-_geocode_object_set_lookup_type
diff --git a/geocode-glib/test-gcglib.c b/geocode-glib/test-gcglib.c
index 304b187..6fac960 100644
--- a/geocode-glib/test-gcglib.c
+++ b/geocode-glib/test-gcglib.c
@@ -365,8 +365,10 @@ int main (int argc, char **argv)
geocode_object_add (object, "location", params[0]);
geocode_object_search_async (object, NULL, got_geocode_search_cb, NULL);
} else {
- if (do_rev_geocoding)
- _geocode_object_set_lookup_type (object, GEOCODE_GLIB_RESOLVE_REVERSE);
+ if (do_rev_geocoding) {
+ /* FIXME */
+ /* _geocode_object_set_lookup_type (object, GEOCODE_GLIB_RESOLVE_REVERSE); */
+ }
for (i = 0; params[i] != NULL; i++) {
char **items;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]