projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a5b372
)
GWakeup: Avoid extraneous wakeups
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 15 Jun 2012 19:16:13 +0000
(15:16 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 15 Jun 2012 19:16:13 +0000
(15:16 -0400)
We were checking the wrong number here, and waking up unnecessarily.
https://bugzilla.gnome.org/show_bug.cgi?id=678052
glib/gmain.c
patch
|
blob
|
history
diff --git
a/glib/gmain.c
b/glib/gmain.c
index
760f179
..
60c80c7
100644
(file)
--- a/
glib/gmain.c
+++ b/
glib/gmain.c
@@
-2976,7
+2976,7
@@
g_main_context_check (GMainContext *context,
return FALSE;
}
- if (context->wake_up_rec.events)
+ if (context->wake_up_rec.
r
events)
g_wakeup_acknowledge (context->wakeup);
/* If the set of poll file descriptors changed, bail out