aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/contacts-map/contacts-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/contacts-map/contacts-map.c')
-rw-r--r--plugins/contacts-map/contacts-map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/contacts-map/contacts-map.c b/plugins/contacts-map/contacts-map.c
index bb46be65e6..24297e0243 100644
--- a/plugins/contacts-map/contacts-map.c
+++ b/plugins/contacts-map/contacts-map.c
@@ -112,7 +112,7 @@ show_map_general (ESourceSelector *selector)
gdouble *min_lng = NULL;
gdouble *max_lng = NULL;
- primary_source = (ESource*)e_source_selector_peek_primary_selection (selector);
+ primary_source = (ESource*)e_source_selector_get_primary_selection (selector);
uri = e_source_get_uri (primary_source);
book = e_book_new_from_uri (uri, NULL);