aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-11-28 21:18:58 +0800
committerRyan Lortie <desrt@desrt.ca>2012-11-28 21:21:14 +0800
commita89694c6ae1a7b28552c0db8d6a240970b6d1e28 (patch)
tree5cf59d757c0fc3f54f794c8d1cfb689e0ebef31a
parent0e83aaed266c7b438c9b8d80213f7660f78c755f (diff)
downloadgsoc2013-empathy-a89694c6ae1a7b28552c0db8d6a240970b6d1e28.tar
gsoc2013-empathy-a89694c6ae1a7b28552c0db8d6a240970b6d1e28.tar.gz
gsoc2013-empathy-a89694c6ae1a7b28552c0db8d6a240970b6d1e28.tar.bz2
gsoc2013-empathy-a89694c6ae1a7b28552c0db8d6a240970b6d1e28.tar.lz
gsoc2013-empathy-a89694c6ae1a7b28552c0db8d6a240970b6d1e28.tar.xz
gsoc2013-empathy-a89694c6ae1a7b28552c0db8d6a240970b6d1e28.tar.zst
gsoc2013-empathy-a89694c6ae1a7b28552c0db8d6a240970b6d1e28.zip
More geocode-glib porting work
Fix a couple of small details missed by the last commit so that things compile again.
-rw-r--r--libempathy/empathy-contact.c4
1 files 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. */