Commit e9c1e85d authored by Florian Müllner's avatar Florian Müllner

lib: Guard against deprecated symbols in telepathy-glib

Recent Glib deprecated symbols that are used in the telepathy-glib
API. There is no point in compiler warnings for unfixable problems,
so disable them for the includes.

!131
parent 6e42f4e6
Pipeline #104662 passed with stages
in 7 minutes and 26 seconds
......@@ -17,7 +17,11 @@
*/
#pragma once
#include <glib-object.h>
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <telepathy-glib/telepathy-glib.h>
G_GNUC_END_IGNORE_DEPRECATIONS
#include "polari-tp-autocleanup.h"
G_BEGIN_DECLS
......
......@@ -20,7 +20,9 @@
#include <glib-object.h>
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <telepathy-glib/telepathy-glib.h>
G_GNUC_END_IGNORE_DEPRECATIONS
G_BEGIN_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment