From a89694c6ae1a7b28552c0db8d6a240970b6d1e28 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Wed, 28 Nov 2012 08:18:58 -0500 Subject: More geocode-glib porting work Fix a couple of small details missed by the last commit so that things compile again. --- libempathy/empathy-contact.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 3963b52ed..83f59f4c6 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -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. */ -- cgit v1.2.3