From 26afa6081c3d9826dbae78236dd712fad8b7c340 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 1 Nov 2010 14:44:23 -0400 Subject: Utilize the new ESourceSelector:primary-selection property. --- plugins/contacts-map/contacts-map.c | 2 +- plugins/save-calendar/csv-format.c | 2 +- plugins/save-calendar/ical-format.c | 2 +- plugins/save-calendar/rdf-format.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') 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); diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c index 58dd9ac5af..6b147d88a2 100644 --- a/plugins/save-calendar/csv-format.c +++ b/plugins/save-calendar/csv-format.c @@ -327,7 +327,7 @@ do_save_calendar_csv (FormatHandler *handler, if (!dest_uri) return; - primary_source = e_source_selector_peek_primary_selection (selector); + primary_source = e_source_selector_get_primary_selection (selector); /* open source client */ source_client = e_auth_new_cal_from_source (primary_source, type); diff --git a/plugins/save-calendar/ical-format.c b/plugins/save-calendar/ical-format.c index 2458a14c1d..fa4f6a5515 100644 --- a/plugins/save-calendar/ical-format.c +++ b/plugins/save-calendar/ical-format.c @@ -90,7 +90,7 @@ do_save_calendar_ical (FormatHandler *handler, ESourceSelector *selector, ECalSo GList *objects; icalcomponent *top_level = NULL; - primary_source = e_source_selector_peek_primary_selection (selector); + primary_source = e_source_selector_get_primary_selection (selector); if (!dest_uri) return; diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c index 8014fe9ddf..462f4f2a31 100644 --- a/plugins/save-calendar/rdf-format.c +++ b/plugins/save-calendar/rdf-format.c @@ -191,7 +191,7 @@ do_save_calendar_rdf (FormatHandler *handler, ESourceSelector *selector, ECalSou if (!dest_uri) return; - primary_source = e_source_selector_peek_primary_selection (selector); + primary_source = e_source_selector_get_primary_selection (selector); /* open source client */ source_client = e_auth_new_cal_from_source (primary_source, type); -- cgit v1.2.3