diff options
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* |