calendar-server: Temporarily ignore all deprecations in eds includes
Evolution draws in libsoup, which exposes deprecated types in its API. While its headers have been fixed to guard the affected symbols, those fixes aren't in our CI images yet. Until we get a fixed version, just disable all deprecation warnings during the include in order to not trip over "foreign" bugs. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/709
This commit is contained in:
parent
d0ace108e5
commit
dcf7bae6c7
@ -29,7 +29,9 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#define HANDLE_LIBICAL_MEMORY
|
#define HANDLE_LIBICAL_MEMORY
|
||||||
#define EDS_DISABLE_DEPRECATED
|
#define EDS_DISABLE_DEPRECATED
|
||||||
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||||
#include <libecal/libecal.h>
|
#include <libecal/libecal.h>
|
||||||
|
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||||
|
|
||||||
#undef CALENDAR_ENABLE_DEBUG
|
#undef CALENDAR_ENABLE_DEBUG
|
||||||
#include "calendar-debug.h"
|
#include "calendar-debug.h"
|
||||||
|
@ -35,7 +35,9 @@
|
|||||||
|
|
||||||
#define HANDLE_LIBICAL_MEMORY
|
#define HANDLE_LIBICAL_MEMORY
|
||||||
#define EDS_DISABLE_DEPRECATED
|
#define EDS_DISABLE_DEPRECATED
|
||||||
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||||
#include <libecal/libecal.h>
|
#include <libecal/libecal.h>
|
||||||
|
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||||
|
|
||||||
#include "calendar-sources.h"
|
#include "calendar-sources.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user