diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-06-13 22:27:22 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:27 +0800 |
commit | d4b54737d3df8c01039815212e6f269f16b4e2bc (patch) | |
tree | 4b297e7915a7c0e058d5956cdf54cba2fd498b91 /widgets/misc/e-contact-map.c | |
parent | a6e518dadb1b85fd7c429bc6b4c541197ad59982 (diff) | |
download | gsoc2013-evolution-d4b54737d3df8c01039815212e6f269f16b4e2bc.tar.gz gsoc2013-evolution-d4b54737d3df8c01039815212e6f269f16b4e2bc.tar.zst gsoc2013-evolution-d4b54737d3df8c01039815212e6f269f16b4e2bc.zip |
Coding style and whitespace cleanups.
Diffstat (limited to 'widgets/misc/e-contact-map.c')
-rw-r--r-- | widgets/misc/e-contact-map.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/widgets/misc/e-contact-map.c b/widgets/misc/e-contact-map.c index d862fc3331..690f12f125 100644 --- a/widgets/misc/e-contact-map.c +++ b/widgets/misc/e-contact-map.c @@ -110,12 +110,12 @@ contact_map_address_resolved_cb (GeoclueGeocode *geocode, if (error || (((fields & GEOCLUE_POSITION_FIELDS_LATITUDE) == 0) && ((fields & GEOCLUE_POSITION_FIELDS_LONGITUDE) == 0))) { - const gchar *name; - if (error) - g_error_free (error); + const gchar *name; + if (error) + g_error_free (error); name = champlain_label_get_text (CHAMPLAIN_LABEL (data->marker)); - g_signal_emit (data->map, signals[GEOCODING_FAILED], 0, name); - goto exit; + g_signal_emit (data->map, signals[GEOCODING_FAILED], 0, name); + goto exit; } priv = data->map->priv; @@ -140,7 +140,7 @@ contact_map_address_resolved_cb (GeoclueGeocode *geocode, g_signal_emit (data->map, signals[CONTACT_ADDED], 0, data->marker); exit: - g_object_unref (data->map); + g_object_unref (data->map); g_free (data); if (geocode) @@ -369,7 +369,7 @@ e_contact_map_zoom_on_marker (EContactMap *map, ClutterActor *marker) { ChamplainView *view; - double lat, lng; + gdouble lat, lng; g_return_if_fail (map && E_IS_CONTACT_MAP (map)); g_return_if_fail (marker && CLUTTER_IS_ACTOR (marker)); |