evolution/evolution-warnings.patch

51 lines
1.8 KiB
Diff

Index: calendar/gui/calendar-component.c
===================================================================
--- calendar/gui/calendar-component.c.orig
+++ calendar/gui/calendar-component.c
@@ -1209,7 +1209,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
@@ -54,6 +54,7 @@
#include <gtk/gtkcellrenderertext.h>
#include <gtk/gtkimage.h>
#include <gtk/gtkstock.h>
+#include <gtk/gtkentry.h>
#include <libgnomeui/gnome-file-entry.h>
#include <libgnomeui/gnome-color-picker.h>
Index: mail/em-composer-utils.c
===================================================================
--- mail/em-composer-utils.c.orig
+++ mail/em-composer-utils.c
@@ -54,6 +54,7 @@
#include <camel/camel-stream-mem.h>
#include <camel/camel-nntp-address.h>
#include <camel/camel-vee-folder.h>
+#include <camel/camel-multipart.h>
static EAccount * guess_account (CamelMimeMessage *message, CamelFolder *folder);
Index: plugins/save-calendar/ical-format.c
===================================================================
--- plugins/save-calendar/ical-format.c.orig
+++ plugins/save-calendar/ical-format.c
@@ -71,7 +71,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);