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:
parent
32d5744014
commit
d0ace108e5
@ -28,6 +28,7 @@
|
||||
#include <libintl.h>
|
||||
#include <string.h>
|
||||
#define HANDLE_LIBICAL_MEMORY
|
||||
#define EDS_DISABLE_DEPRECATED
|
||||
#include <libecal/libecal.h>
|
||||
|
||||
#undef CALENDAR_ENABLE_DEBUG
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include <gio/gio.h>
|
||||
|
||||
#define HANDLE_LIBICAL_MEMORY
|
||||
#define EDS_DISABLE_DEPRECATED
|
||||
#include <libecal/libecal.h>
|
||||
|
||||
#include "calendar-sources.h"
|
||||
|
Loading…
Reference in New Issue
Block a user