[empathy] More geocode-glib porting work



commit a89694c6ae1a7b28552c0db8d6a240970b6d1e28
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Nov 28 08:18:58 2012 -0500

    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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 3963b52..83f59f4 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. */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]