[geocode-glib] lib: Remove remaining references to Yahoo Places API
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] lib: Remove remaining references to Yahoo Places API
- Date: Sun, 28 Jul 2013 19:50:36 +0000 (UTC)
commit 8b36dc97611627bf2f2e4ee2a304cb4cbfeb1b06
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sun Jul 28 22:49:10 2013 +0300
lib: Remove remaining references to Yahoo Places API
geocode-glib/geocode-forward.c | 7 ++-----
geocode-glib/geocode-glib.c | 5 +----
geocode-glib/geocode-reverse.c | 2 +-
3 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/geocode-glib/geocode-forward.c b/geocode-glib/geocode-forward.c
index a28e165..cb48a59 100644
--- a/geocode-glib/geocode-forward.c
+++ b/geocode-glib/geocode-forward.c
@@ -35,8 +35,8 @@
* @short_description: Geocode forward geocoding object
* @include: geocode-glib/geocode-glib.h
*
- * Contains functions for forward geocoding using the
- * <ulink url="http://developer.yahoo.com/geo/geoplanet/">Yahoo! GeoPlanet APIs</ulink>.
+ * Contains functions for geocoding using the
+ * <ulink url="http://http://wiki.openstreetmap.org/wiki/Nominatim">OSM Nominatim APIs</ulink>
**/
struct _GeocodeForwardPrivate {
@@ -863,9 +863,6 @@ geocode_forward_search (GeocodeForward *forward,
if (_geocode_glib_cache_load (query, &contents) == FALSE) {
if (soup_session_send_message (forward->priv->soup_session,
query) != SOUP_STATUS_OK) {
- /* FIXME check error value and match against
- * web service errors:
- * http://developer.yahoo.com/geo/geoplanet/guide/api_docs.html#response-errors */
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED,
query->reason_phrase ? query->reason_phrase : "Query failed");
g_object_unref (query);
diff --git a/geocode-glib/geocode-glib.c b/geocode-glib/geocode-glib.c
index 2461780..bdbff06 100644
--- a/geocode-glib/geocode-glib.c
+++ b/geocode-glib/geocode-glib.c
@@ -36,10 +36,7 @@
* @include: geocode-glib/geocode-glib.h
*
* Contains functions for geocoding and reverse geocoding using the
- * <ulink url="http://developer.yahoo.com/geo/placefinder/guide/requests.html">Yahoo! Place Finder
APIs</ulink>
- * for reverse geocoding, and the
- * <ulink url="http://developer.yahoo.com/geo/geoplanet/">Yahoo! GeoPlanet APIs</ulink>
- * for forward geocoding.
+ * <ulink url="http://http://wiki.openstreetmap.org/wiki/Nominatim">OSM Nominatim APIs</ulink>
**/
char *
diff --git a/geocode-glib/geocode-reverse.c b/geocode-glib/geocode-reverse.c
index 937acd8..8d36549 100644
--- a/geocode-glib/geocode-reverse.c
+++ b/geocode-glib/geocode-reverse.c
@@ -37,7 +37,7 @@
* @include: geocode-glib/geocode-glib.h
*
* Contains functions for reverse geocoding using the
- * <ulink url="http://developer.yahoo.com/geo/placefinder/guide/requests.html">Yahoo! Place Finder
APIs</ulink>.
+ * <ulink url="http://http://wiki.openstreetmap.org/wiki/Nominatim">OSM Nominatim APIs</ulink>
**/
struct _GeocodeReversePrivate {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]