[glib] gtimer: remove warnings about threads



commit 6b566e1d0b672e156c0cb80ceddc21b2f01deeaf
Author: Ryan Lortie <desrt desrt ca>
Date:   Tue Oct 4 17:17:01 2011 -0400

    gtimer: remove warnings about threads
    
    GTimer no longer uses the thread system for time information and
    g_thread_init() no longer does anything, so remove the doubly-untrue
    warning about these topics.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=527214

 glib/gtimer.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/glib/gtimer.c b/glib/gtimer.c
index 7c2d415..a1ba3f6 100644
--- a/glib/gtimer.c
+++ b/glib/gtimer.c
@@ -213,11 +213,6 @@ g_timer_continue (GTimer *timer)
  * stopped. The return value is the number of seconds elapsed,
  * including any fractional part. The @microseconds out parameter is
  * essentially useless.
- *
- * <warning><para>
- *  Calling initialization functions, in particular g_thread_init(), while a
- *  timer is running will cause invalid return values from this function.
- * </para></warning>
  **/
 gdouble
 g_timer_elapsed (GTimer *timer,



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