diff options
author | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2008-12-31 03:22:33 +0800 |
---|---|---|
committer | Pierre-Luc Beaudoin <pierre-luc@pierlux.com> | 2009-05-28 00:52:04 +0800 |
commit | ed29d815833d874a16e6d0c5e08dcb9506333d76 (patch) | |
tree | e9a07461bbe92819e90196f9c6ce43b37adec5be /libempathy-gtk/empathy-contact-widget.c | |
parent | 1ad83ec843cb36808310afb5fe9e5ea296d3f0fb (diff) | |
download | gsoc2013-empathy-ed29d815833d874a16e6d0c5e08dcb9506333d76.tar gsoc2013-empathy-ed29d815833d874a16e6d0c5e08dcb9506333d76.tar.gz gsoc2013-empathy-ed29d815833d874a16e6d0c5e08dcb9506333d76.tar.bz2 gsoc2013-empathy-ed29d815833d874a16e6d0c5e08dcb9506333d76.tar.lz gsoc2013-empathy-ed29d815833d874a16e6d0c5e08dcb9506333d76.tar.xz gsoc2013-empathy-ed29d815833d874a16e6d0c5e08dcb9506333d76.tar.zst gsoc2013-empathy-ed29d815833d874a16e6d0c5e08dcb9506333d76.zip |
Don't init vars with a function
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r-- | libempathy-gtk/empathy-contact-widget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c index 90fb7ba9e..30f1e4c25 100644 --- a/libempathy-gtk/empathy-contact-widget.c +++ b/libempathy-gtk/empathy-contact-widget.c @@ -1236,12 +1236,13 @@ contact_widget_client_update (EmpathyContactWidget *information) static void contact_widget_location_update (EmpathyContactWidget *information) { - GHashTable *location = empathy_contact_get_location (information->contact); + GHashTable *location; GValue *value; gdouble lat, lon; ClutterActor *marker; ChamplainLayer *layer; + location = empathy_contact_get_location (information->contact); value = g_hash_table_lookup (location, EMPATHY_LOCATION_LAT); if (value == NULL) { |