Index: calendar/gui/calendar-component.c =================================================================== --- calendar/gui/calendar-component.c.orig +++ calendar/gui/calendar-component.c @@ -1272,7 +1272,7 @@ create_new_event (CalendarComponent *cal } else { ECalComponent *comp; EventEditor *editor; - CompEditorFlags flags; + CompEditorFlags flags = 0; flags = COMP_EDITOR_USER_ORG | COMP_EDITOR_NEW_ITEM; if (is_meeting) Index: mail/em-composer-prefs.c =================================================================== --- mail/em-composer-prefs.c.orig +++ mail/em-composer-prefs.c @@ -56,6 +56,7 @@ #include #include #include +#include #include #include Index: mail/em-composer-utils.c =================================================================== --- mail/em-composer-utils.c.orig +++ mail/em-composer-utils.c @@ -55,6 +55,7 @@ #include #include #include +#include #ifdef G_OS_WIN32 /* Undef the similar macro from pthread.h, it doesn't check if Index: plugins/save-calendar/ical-format.c =================================================================== --- plugins/save-calendar/ical-format.c.orig +++ plugins/save-calendar/ical-format.c @@ -109,7 +109,7 @@ do_save_calendar_ical (FormatHandler *ha return; /* open source client */ - source_client = auth_new_cal_from_source (primary_source, type); + source_client = (ECal*)auth_new_cal_from_source (primary_source, type); if (!e_cal_open (source_client, TRUE, &error)) { display_error_message (gtk_widget_get_toplevel (GTK_WIDGET (target->selector)), error->message); g_object_unref (source_client);