mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 02:36:19 +01:00
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:
parent
45b74b02b8
commit
aa261ca24a
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user