[empathy] use tp_asv_set_double
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] use tp_asv_set_double
- Date: Thu, 8 Apr 2010 13:52:30 +0000 (UTC)
commit a55eb11a5775dd27041f4b6555d527aa67ba0069
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Apr 8 15:18:43 2010 +0200
use tp_asv_set_double
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 c2bdc6a..ef47fb3 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -1267,8 +1267,8 @@ geocode_cb (GeoclueGeocode *geocode,
if (fields & GEOCLUE_POSITION_FIELDS_ALTITUDE &&
g_hash_table_lookup (new_location, EMPATHY_LOCATION_LAT) == NULL)
{
- g_hash_table_insert (new_location, g_strdup (EMPATHY_LOCATION_ALT),
- tp_g_value_slice_new_double (altitude));
+ tp_asv_set_double (new_location, g_strdup (EMPATHY_LOCATION_ALT),
+ altitude);
DEBUG ("\t - Altitude: %f", altitude);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]