aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-04-21 10:49:55 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-04-21 10:49:55 +0800
commiteaaf3c72dcb03ad0be08f53e7b621cdc279cf21e (patch)
tree06c4eb10110794905d012c82754412996501984e /libempathy-gtk
parent8e988806c1b6eb57361613a58d34a4e8522ae5db (diff)
downloadgsoc2013-empathy-eaaf3c72dcb03ad0be08f53e7b621cdc279cf21e.tar
gsoc2013-empathy-eaaf3c72dcb03ad0be08f53e7b621cdc279cf21e.tar.gz
gsoc2013-empathy-eaaf3c72dcb03ad0be08f53e7b621cdc279cf21e.tar.bz2
gsoc2013-empathy-eaaf3c72dcb03ad0be08f53e7b621cdc279cf21e.tar.lz
gsoc2013-empathy-eaaf3c72dcb03ad0be08f53e7b621cdc279cf21e.tar.xz
gsoc2013-empathy-eaaf3c72dcb03ad0be08f53e7b621cdc279cf21e.tar.zst
gsoc2013-empathy-eaaf3c72dcb03ad0be08f53e7b621cdc279cf21e.zip
Post-rebase: priv->location is not compatible with tp_asv_* in this branch
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-location-manager.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-location-manager.c b/libempathy-gtk/empathy-location-manager.c
index 1925d4371..8f64e325f 100644
--- a/libempathy-gtk/empathy-location-manager.c
+++ b/libempathy-gtk/empathy-location-manager.c
@@ -324,9 +324,12 @@ update_timestamp (EmpathyLocationManager *self)
{
EmpathyLocationManagerPriv *priv= GET_PRIV (self);
gint64 timestamp;
+ GValue *new_value;
timestamp = empathy_time_get_current ();
- tp_asv_set_int64 (priv->location, EMPATHY_LOCATION_TIMESTAMP, timestamp);
+ new_value = tp_g_value_slice_new_int64 (timestamp);
+ g_hash_table_insert (priv->location, g_strdup (EMPATHY_LOCATION_TIMESTAMP),
+ new_value);
DEBUG ("\t - Timestamp: %" G_GINT64_FORMAT, timestamp);
}