diff options
Diffstat (limited to 'plugins/google-account-setup/google-source.c')
-rw-r--r-- | plugins/google-account-setup/google-source.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/google-account-setup/google-source.c b/plugins/google-account-setup/google-source.c index 2a8b6c46e5..8867cf3b61 100644 --- a/plugins/google-account-setup/google-source.c +++ b/plugins/google-account-setup/google-source.c @@ -37,7 +37,6 @@ #include <calendar/gui/e-cal-config.h> #include <calendar/gui/e-cal-event.h> -#include <calendar/gui/calendar-component.h> #include <libedataserver/e-url.h> #include <libedataserver/e-account-list.h> @@ -63,7 +62,7 @@ /* prototypes */ gint e_plugin_lib_enable (EPluginLib *ep, gint enable); GtkWidget *plugin_google (EPlugin *epl, EConfigHookItemFactoryData *data); -void e_calendar_google_migrate (EPlugin *epl, ECalEventTargetComponent *data); +void e_calendar_google_migrate (EPlugin *epl, ECalEventTargetModule *data); /*****************************************************************************/ /* plugin intialization */ @@ -785,15 +784,13 @@ plugin_google (EPlugin *epl, } void -e_calendar_google_migrate (EPlugin *epl, ECalEventTargetComponent *data) +e_calendar_google_migrate (EPlugin *epl, ECalEventTargetModule *data) { - CalendarComponent *component; ESourceList *source_list; ESourceGroup *google = NULL; gboolean changed = FALSE; - component = data->component; - source_list = calendar_component_peek_source_list (component); + source_list = data->source_list; google = e_source_list_peek_group_by_base_uri (source_list, GOOGLE_BASE_URI); if (google) { |