diff options
author | Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk> | 2009-06-02 00:10:29 +0800 |
---|---|---|
committer | Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk> | 2009-06-02 00:11:47 +0800 |
commit | 76d2f71aecdc4abd5ca423626792c66dc4eeb2b0 (patch) | |
tree | 4551e0383ab9917170d0441b7f4827cbfe3c085d /libempathy-gtk | |
parent | 3623b886388ccb1a581177c096a1668b26fdadd1 (diff) | |
download | gsoc2013-empathy-76d2f71aecdc4abd5ca423626792c66dc4eeb2b0.tar gsoc2013-empathy-76d2f71aecdc4abd5ca423626792c66dc4eeb2b0.tar.gz gsoc2013-empathy-76d2f71aecdc4abd5ca423626792c66dc4eeb2b0.tar.bz2 gsoc2013-empathy-76d2f71aecdc4abd5ca423626792c66dc4eeb2b0.tar.lz gsoc2013-empathy-76d2f71aecdc4abd5ca423626792c66dc4eeb2b0.tar.xz gsoc2013-empathy-76d2f71aecdc4abd5ca423626792c66dc4eeb2b0.tar.zst gsoc2013-empathy-76d2f71aecdc4abd5ca423626792c66dc4eeb2b0.zip |
Level is used before init
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-location-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-location-manager.c b/libempathy-gtk/empathy-location-manager.c index 1acdb3b99..436e0a216 100644 --- a/libempathy-gtk/empathy-location-manager.c +++ b/libempathy-gtk/empathy-location-manager.c @@ -290,9 +290,10 @@ address_changed_cb (GeoclueAddress *address, GHashTableIter iter; gpointer key, value; + geoclue_accuracy_get_details (accuracy, &level, NULL, NULL); DEBUG ("New address (accuracy level %d):", level); + /* FIXME: Publish accuracy level also considering the position's */ - geoclue_accuracy_get_details (accuracy, &level, NULL, NULL); g_hash_table_remove (priv->location, EMPATHY_LOCATION_STREET); g_hash_table_remove (priv->location, EMPATHY_LOCATION_AREA); g_hash_table_remove (priv->location, EMPATHY_LOCATION_REGION); |