Set the return value from the result of g_main_context_check() (after we
authorOwen Taylor <otaylor@redhat.com>
Sat, 1 Nov 2003 13:57:48 +0000 (13:57 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Sat, 1 Nov 2003 13:57:48 +0000 (13:57 +0000)
Sat Nov  1 08:45:38 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_context_iterate): Set the
        return value from the result of g_main_context_check()
        (after we poll) rather than g_main_context_prepare.
        (#121675, Padraig O'Briain)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmain.c

index 2d69f7e285c62003ef1f52d80411ceda4e3c3abd..16811ebd6d1e7b757086319cf876ba6ee3c88dec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sat Nov  1 08:45:38 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_context_iterate): Set the
+       return value from the result of g_main_context_check()
+       (after we poll) rather than g_main_context_prepare.
+       (#121675, Padraig O'Briain)
+
 Fri Oct 31 00:13:53 2003  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Remove the semicolon from the definition of
index 2d69f7e285c62003ef1f52d80411ceda4e3c3abd..16811ebd6d1e7b757086319cf876ba6ee3c88dec 100644 (file)
@@ -1,3 +1,10 @@
+Sat Nov  1 08:45:38 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_context_iterate): Set the
+       return value from the result of g_main_context_check()
+       (after we poll) rather than g_main_context_prepare.
+       (#121675, Padraig O'Briain)
+
 Fri Oct 31 00:13:53 2003  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Remove the semicolon from the definition of
index 2d69f7e285c62003ef1f52d80411ceda4e3c3abd..16811ebd6d1e7b757086319cf876ba6ee3c88dec 100644 (file)
@@ -1,3 +1,10 @@
+Sat Nov  1 08:45:38 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_context_iterate): Set the
+       return value from the result of g_main_context_check()
+       (after we poll) rather than g_main_context_prepare.
+       (#121675, Padraig O'Briain)
+
 Fri Oct 31 00:13:53 2003  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Remove the semicolon from the definition of
index 2d69f7e285c62003ef1f52d80411ceda4e3c3abd..16811ebd6d1e7b757086319cf876ba6ee3c88dec 100644 (file)
@@ -1,3 +1,10 @@
+Sat Nov  1 08:45:38 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_context_iterate): Set the
+       return value from the result of g_main_context_check()
+       (after we poll) rather than g_main_context_prepare.
+       (#121675, Padraig O'Briain)
+
 Fri Oct 31 00:13:53 2003  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Remove the semicolon from the definition of
index 2d69f7e285c62003ef1f52d80411ceda4e3c3abd..16811ebd6d1e7b757086319cf876ba6ee3c88dec 100644 (file)
@@ -1,3 +1,10 @@
+Sat Nov  1 08:45:38 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_context_iterate): Set the
+       return value from the result of g_main_context_check()
+       (after we poll) rather than g_main_context_prepare.
+       (#121675, Padraig O'Briain)
+
 Fri Oct 31 00:13:53 2003  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Remove the semicolon from the definition of
index 2d69f7e285c62003ef1f52d80411ceda4e3c3abd..16811ebd6d1e7b757086319cf876ba6ee3c88dec 100644 (file)
@@ -1,3 +1,10 @@
+Sat Nov  1 08:45:38 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_context_iterate): Set the
+       return value from the result of g_main_context_check()
+       (after we poll) rather than g_main_context_prepare.
+       (#121675, Padraig O'Briain)
+
 Fri Oct 31 00:13:53 2003  Matthias Clasen  <maclas@gmx.de>
 
        * configure.in: Remove the semicolon from the definition of
index c838274d7f8bc18e2696ae3d49c1b398beb665b3..603eec07b670e4850e3d12f3937b12663334458f 100644 (file)
@@ -2358,7 +2358,7 @@ g_main_context_iterate (GMainContext *context,
   
   UNLOCK_CONTEXT (context);
 
-  some_ready = g_main_context_prepare (context, &max_priority); 
+  g_main_context_prepare (context, &max_priority); 
   
   while ((nfds = g_main_context_query (context, max_priority, &timeout, fds, 
                                       allocated_nfds)) > allocated_nfds)
@@ -2375,7 +2375,7 @@ g_main_context_iterate (GMainContext *context,
   
   g_main_context_poll (context, timeout, max_priority, fds, nfds);
   
-  g_main_context_check (context, max_priority, fds, nfds);
+  some_ready = g_main_context_check (context, max_priority, fds, nfds);
   
   if (dispatch)
     g_main_context_dispatch (context);