calendar-server: Disable deprecated e-d-s API

We aren't using any deprecated evolution-data-server API, so we can
turn it off; this avoids compiler warnings for glib deprecations
used by those functions, which makes it harder to spot warnings for
our own code base.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/709
This commit is contained in:
Florian Müllner 2019-09-10 04:44:10 +02:00 committed by Florian Müllner
parent 32d5744014
commit d0ace108e5
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include <libintl.h> #include <libintl.h>
#include <string.h> #include <string.h>
#define HANDLE_LIBICAL_MEMORY #define HANDLE_LIBICAL_MEMORY
#define EDS_DISABLE_DEPRECATED
#include <libecal/libecal.h> #include <libecal/libecal.h>
#undef CALENDAR_ENABLE_DEBUG #undef CALENDAR_ENABLE_DEBUG

View File

@ -34,6 +34,7 @@
#include <gio/gio.h> #include <gio/gio.h>
#define HANDLE_LIBICAL_MEMORY #define HANDLE_LIBICAL_MEMORY
#define EDS_DISABLE_DEPRECATED
#include <libecal/libecal.h> #include <libecal/libecal.h>
#include "calendar-sources.h" #include "calendar-sources.h"