diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com> | 2013-07-05 14:17:46 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2013-07-09 15:34:59 +0000 |
commit | 21a9089aa4324ccbdc9e9ee3669e5fb524efd03c (patch) | |
tree | a284fd01001f9e76074b73f0cd29b23a31b73e92 /basic | |
parent | dc2aa496c0252ef4a95289935eeac3340de1ca8b (diff) |
gtk/unx: remove successive calls to g_main_context_iteration
Replace the sequence:
non-blocking call to g_main_context_iteration
if no-event-recvd
blocking call to g_main_context_iteration
With this one:
blocking call to g_main_context_iteration until first evt reveived.
This allows more longer sleep period, when nothing is going on (verified
with strace).
Change-Id: I8f4ea911534c90aea091fd68e9f09db11591392f
Reviewed-on: https://gerrit.libreoffice.org/4777
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'basic')
0 files changed, 0 insertions, 0 deletions