[glib: 19/26] glib: Stop mentioning deprecated g_get_current_time() in docs



commit c0f958de5b1a5e508c91b26a64dc87071c2a58c9
Author: Philip Withnall <withnall endlessm com>
Date:   Wed Jul 24 14:10:26 2019 +0100

    glib: Stop mentioning deprecated g_get_current_time() in docs
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    Helps: #1438

 glib/deprecated/gthread-deprecated.c | 2 +-
 glib/gasyncqueue.c                   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/deprecated/gthread-deprecated.c b/glib/deprecated/gthread-deprecated.c
index c0ef4deff..b0d67df88 100644
--- a/glib/deprecated/gthread-deprecated.c
+++ b/glib/deprecated/gthread-deprecated.c
@@ -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
diff --git a/glib/gasyncqueue.c b/glib/gasyncqueue.c
index 4043e8abd..5719a5461 100644
--- a/glib/gasyncqueue.c
+++ b/glib/gasyncqueue.c
@@ -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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]