[gimp] app/tests: Run main loop until idle instead of for a given time
- From: Martin Nordholts <martinn src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] app/tests: Run main loop until idle instead of for a given time
- Date: Thu, 24 Dec 2009 16:50:04 +0000 (UTC)
commit 1e89d0141790615e17df385f5864ead7a0dd53c0
Author: Martin Nordholts <martinn src gnome org>
Date: Thu Dec 24 17:45:24 2009 +0100
app/tests: Run main loop until idle instead of for a given time
Use gimp_test_run_mainloop_until_idle() instead of
gimp_test_run_temp_mainloop () since we then don't have to wait for a
timeout, we only wait the minimal amount of time.
app/tests/test-session-management.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tests/test-session-management.c b/app/tests/test-session-management.c
index 79faf0a..84de7b4 100644
--- a/app/tests/test-session-management.c
+++ b/app/tests/test-session-management.c
@@ -85,7 +85,7 @@ int main(int argc, char **argv)
* to let things stabilize. This includes parsing sessionrc and
* dockrc
*/
- gimp_test_run_temp_mainloop (4000);
+ gimp_test_run_mainloop_until_idle ();
/* Exit. This includes writing sessionrc and dockrc*/
gimp_exit (gimp, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]