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/save-calendar/csv-format.c | 2 +- plugins/save-calendar/ical-format.c | 2 +- plugins/save-calendar/rdf-format.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/save-calendar') 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