From b8a98209dd7114ab02fe432d8f7de25689fd1c14 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 7 Dec 2017 09:38:19 +0100 Subject: [PATCH] Hide deprecation warnings during library compilation We now define `__MATRIX_GLIB_SDK_COMPILATION` in `src/Makefile.am`, which in turn disables deprecation of symbols. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index ebb580f..2a30b6d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,6 @@ include $(top_srcdir)/vala-globals.mk -AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Matrix-GLib\" +AM_CPPFLAGS = -DG_LOG_DOMAIN=\"Matrix-GLib\" -D__MATRIX_GLIB_SDK_COMPILATION # Empty variables for elements to be added later CLEANFILES =