Commit 08567541 authored by Matthew Barnes's avatar Matthew Barnes
Browse files

Adapt save-calendar plugin to new ESource API.

parent d502cc9f
......@@ -340,10 +340,6 @@ do_save_calendar_csv (FormatHandler *handler,
/* open source client */
primary_source = e_source_selector_ref_primary_selection (selector);
source_client = e_cal_client_new (primary_source, type, &error);
if (source_client)
g_signal_connect (
source_client, "authenticate",
G_CALLBACK (e_client_utils_authenticate_handler), NULL);
g_object_unref (primary_source);
if (!source_client || !e_client_open_sync (E_CLIENT (source_client), TRUE, NULL, &error)) {
......
......@@ -103,10 +103,6 @@ do_save_calendar_ical (FormatHandler *handler,
/* open source client */
primary_source = e_source_selector_ref_primary_selection (selector);
source_client = e_cal_client_new (primary_source, type, &error);
if (source_client)
g_signal_connect (
source_client, "authenticate",
G_CALLBACK (e_client_utils_authenticate_handler), NULL);
g_object_unref (primary_source);
if (!source_client || !e_client_open_sync (E_CLIENT (source_client), TRUE, NULL, &error)) {
......
......@@ -205,10 +205,6 @@ do_save_calendar_rdf (FormatHandler *handler,
/* open source client */
primary_source = e_source_selector_ref_primary_selection (selector);
source_client = e_cal_client_new (primary_source, type, &error);
if (source_client)
g_signal_connect (
source_client, "authenticate",
G_CALLBACK (e_client_utils_authenticate_handler), NULL);
g_object_unref (primary_source);
if (!source_client || !e_client_open_sync (E_CLIENT (source_client), TRUE, NULL, &error)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment