diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-12 02:56:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-13 20:28:58 +0800 |
commit | cd53ba990035bdb4861d9660917d457533d4ecb2 (patch) | |
tree | d9c9da2208f4a921c514497ea92d27e3d88481d1 /plugins/contacts-map | |
parent | b2b27cfa1bfcd6efdac30d2745a6e8cd4e6de134 (diff) | |
download | gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.gz gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.tar.zst gsoc2013-evolution-cd53ba990035bdb4861d9660917d457533d4ecb2.zip |
Coding style cleanups.
Diffstat (limited to 'plugins/contacts-map')
-rw-r--r-- | plugins/contacts-map/contacts-map.c | 6 | ||||
-rw-r--r-- | plugins/contacts-map/geo-utils.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/contacts-map/contacts-map.c b/plugins/contacts-map/contacts-map.c index 868930035d..bb46be65e6 100644 --- a/plugins/contacts-map/contacts-map.c +++ b/plugins/contacts-map/contacts-map.c @@ -150,8 +150,8 @@ show_map_general (ESourceSelector *selector) /* Get the lat & lng and add the marker asynchronously */ i = 0; addr = NULL; - while (!addr && i<G_N_ELEMENTS(addr_fields)) { - addr = e_contact_get(contact, addr_fields[i]); + while (!addr && i<G_N_ELEMENTS (addr_fields)) { + addr = e_contact_get (contact, addr_fields[i]); i++; } @@ -169,7 +169,7 @@ show_map_general (ESourceSelector *selector) *min_lat = lat; } if (!max_lat) { - max_lat = g_malloc (sizeof(gdouble)); + max_lat = g_malloc (sizeof (gdouble)); *max_lat = lat; } if (!min_lng) { diff --git a/plugins/contacts-map/geo-utils.c b/plugins/contacts-map/geo-utils.c index 1168e38562..ec36b33ab2 100644 --- a/plugins/contacts-map/geo-utils.c +++ b/plugins/contacts-map/geo-utils.c @@ -52,7 +52,7 @@ add_marker (ChamplainLayer *layer, gdouble lat, gdouble lng, EContact *contact) champlain_marker_set_use_markup (CHAMPLAIN_MARKER (marker), FALSE); champlain_base_marker_set_position (CHAMPLAIN_BASE_MARKER (marker), lat, lng); - champlain_layer_add_marker (layer, CHAMPLAIN_BASE_MARKER(marker)); + champlain_layer_add_marker (layer, CHAMPLAIN_BASE_MARKER (marker)); } GeoclueGeocode* |