mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
glib: Stop mentioning deprecated g_get_current_time() in docs
Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1438
This commit is contained in:
parent
de25be72f0
commit
c0f958de5b
@ -1540,7 +1540,7 @@ g_cond_free (GCond *cond)
|
||||
* This function can be used even if g_thread_init() has not yet been
|
||||
* called, and, in that case, will immediately return %TRUE.
|
||||
*
|
||||
* To easily calculate @abs_time a combination of g_get_current_time()
|
||||
* To easily calculate @abs_time a combination of g_get_real_time()
|
||||
* and g_time_val_add() can be used.
|
||||
*
|
||||
* Returns: %TRUE if @cond was signalled, or %FALSE on timeout
|
||||
|
@ -584,7 +584,7 @@ g_async_queue_timeout_pop_unlocked (GAsyncQueue *queue,
|
||||
*
|
||||
* If no data is received before @end_time, %NULL is returned.
|
||||
*
|
||||
* To easily calculate @end_time, a combination of g_get_current_time()
|
||||
* To easily calculate @end_time, a combination of g_get_real_time()
|
||||
* and g_time_val_add() can be used.
|
||||
*
|
||||
* Returns: data from the queue or %NULL, when no data is
|
||||
@ -628,7 +628,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
*
|
||||
* If no data is received before @end_time, %NULL is returned.
|
||||
*
|
||||
* To easily calculate @end_time, a combination of g_get_current_time()
|
||||
* To easily calculate @end_time, a combination of g_get_real_time()
|
||||
* and g_time_val_add() can be used.
|
||||
*
|
||||
* This function must be called while holding the @queue's lock.
|
||||
|
Loading…
Reference in New Issue
Block a user