Commit a89694c6 authored by Allison Karlitskaya's avatar Allison Karlitskaya

More geocode-glib porting work

Fix a couple of small details missed by the last commit so that things
compile again.
parent 0e83aaed
......@@ -1632,7 +1632,7 @@ geocode_cb (GObject *source,
if (priv->location == NULL)
goto out;
res = geocode_forward_search_finish (GEOCODE_OBJECT (source), result,
res = geocode_forward_search_finish (GEOCODE_FORWARD (source), result,
&error);
if (res == NULL)
......@@ -1652,7 +1652,7 @@ geocode_cb (GObject *source,
DEBUG ("\t - Latitude: %f", loc->latitude);
DEBUG ("\t - Longitude: %f", loc->longitude);
g_list_free_full (res, geocode_location_free);
g_list_free_full (res, (GDestroyNotify) geocode_location_free);
/* Copy remaning fields. LAT and LON were not defined so we won't overwrite
* the values we just set. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment