[glibmm] Glib::MainContext: Fix a small error in the documentation of acquire().



commit 1e71387941c956cd898a7d114911d0416c4f1666
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Tue Jun 4 09:26:09 2013 +0200

    Glib::MainContext: Fix a small error in the documentation of acquire().
    
    * glib/glibmm/main.h: Change "context is the owner" to "thread is the owner".

 ChangeLog          |    6 ++++++
 glib/glibmm/main.h |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 954817a..1f3420c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2013-06-04  Kjell Ahlstedt  <kjell ahlstedt bredband net>
 
+       Glib::MainContext: Fix a small error in the documentation of acquire().
+
+       * glib/glibmm/main.h: Change "context is the owner" to "thread is the owner".
+
+2013-06-04  Kjell Ahlstedt  <kjell ahlstedt bredband net>
+
        tests: Fix the glibmm_mainloop test.
 
        * tests/glibmm_mainloop/main.cc: Make it work as expected whichever thread
diff --git a/glib/glibmm/main.h b/glib/glibmm/main.h
index cd07857..0664610 100644
--- a/glib/glibmm/main.h
+++ b/glib/glibmm/main.h
@@ -435,7 +435,7 @@ public:
   void wakeup();
 
   /** Tries to become the owner of the specified context.
-   * If some other context is the owner of the context, returns FALSE immediately. Ownership is properly 
recursive:
+   * If some other thread is the owner of the context, returns <tt>false</tt> immediately. Ownership is 
properly recursive:
    * the owner can require ownership again and will release ownership when release() is called as many times 
as
    * acquire().
    * You must be the owner of a context before you can call prepare(), query(), check(), dispatch().


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