gasyncqueue: Ignore use of deprecated types in deprecated APIs

It’s unavoidable.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Helps: #1438
This commit is contained in:
Philip Withnall 2019-06-28 19:00:13 +01:00
parent 45b74b02b8
commit aa261ca24a

View File

@ -592,6 +592,7 @@ g_async_queue_timeout_pop_unlocked (GAsyncQueue *queue,
* *
* Deprecated: use g_async_queue_timeout_pop(). * Deprecated: use g_async_queue_timeout_pop().
*/ */
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gpointer gpointer
g_async_queue_timed_pop (GAsyncQueue *queue, g_async_queue_timed_pop (GAsyncQueue *queue,
GTimeVal *end_time) GTimeVal *end_time)
@ -615,6 +616,7 @@ g_async_queue_timed_pop (GAsyncQueue *queue,
return retval; return retval;
} }
G_GNUC_END_IGNORE_DEPRECATIONS
/** /**
* g_async_queue_timed_pop_unlocked: * 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(). * Deprecated: use g_async_queue_timeout_pop_unlocked().
*/ */
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gpointer gpointer
g_async_queue_timed_pop_unlocked (GAsyncQueue *queue, g_async_queue_timed_pop_unlocked (GAsyncQueue *queue,
GTimeVal *end_time) 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); return g_async_queue_pop_intern_unlocked (queue, TRUE, m_end_time);
} }
G_GNUC_END_IGNORE_DEPRECATIONS
/** /**
* g_async_queue_length: * g_async_queue_length: