From aa261ca24af46bf4b0694a25567ab613ae62bd35 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 28 Jun 2019 19:00:13 +0100 Subject: [PATCH] gasyncqueue: Ignore use of deprecated types in deprecated APIs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s unavoidable. Signed-off-by: Philip Withnall Helps: #1438 --- glib/gasyncqueue.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glib/gasyncqueue.c b/glib/gasyncqueue.c index 3eb38393d..4043e8abd 100644 --- a/glib/gasyncqueue.c +++ b/glib/gasyncqueue.c @@ -592,6 +592,7 @@ g_async_queue_timeout_pop_unlocked (GAsyncQueue *queue, * * Deprecated: use g_async_queue_timeout_pop(). */ +G_GNUC_BEGIN_IGNORE_DEPRECATIONS gpointer g_async_queue_timed_pop (GAsyncQueue *queue, GTimeVal *end_time) @@ -615,6 +616,7 @@ g_async_queue_timed_pop (GAsyncQueue *queue, return retval; } +G_GNUC_END_IGNORE_DEPRECATIONS /** * g_async_queue_timed_pop_unlocked: @@ -636,6 +638,7 @@ g_async_queue_timed_pop (GAsyncQueue *queue, * * Deprecated: use g_async_queue_timeout_pop_unlocked(). */ +G_GNUC_BEGIN_IGNORE_DEPRECATIONS gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue, GTimeVal *end_time) @@ -654,6 +657,7 @@ g_async_queue_timed_pop_unlocked (GAsyncQueue *queue, return g_async_queue_pop_intern_unlocked (queue, TRUE, m_end_time); } +G_GNUC_END_IGNORE_DEPRECATIONS /** * g_async_queue_length: