diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-23 01:38:08 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-23 01:38:08 +0800 |
commit | 141f12fe3e0aafa6050d18534513d422fb00f9d4 (patch) | |
tree | 00b250d9b504543f80dcf1e4d2c5ea8f45a1b016 /wombat/wombat.c | |
parent | 9d6caa82399c6fad6142cc632bda575d031a3ba5 (diff) | |
download | gsoc2013-evolution-141f12fe3e0aafa6050d18534513d422fb00f9d4.tar.gz gsoc2013-evolution-141f12fe3e0aafa6050d18534513d422fb00f9d4.tar.zst gsoc2013-evolution-141f12fe3e0aafa6050d18534513d422fb00f9d4.zip |
Register the public ConfigDatabase interface last to work around an OAF
* wombat.c (main): Register the public ConfigDatabase interface
last to work around an OAF race condition.
svn path=/trunk/; revision=13880
Diffstat (limited to 'wombat/wombat.c')
-rw-r--r-- | wombat/wombat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wombat/wombat.c b/wombat/wombat.c index 65f0b6f479..f7fbc9227c 100644 --- a/wombat/wombat.c +++ b/wombat/wombat.c @@ -239,8 +239,10 @@ main (int argc, char **argv) if (!( (did_pas = setup_pas (argc, argv)) && (did_pcs = setup_pcs (argc, argv)) - && (did_config = setup_config (argc, argv)) - && (did_private = setup_private (argc, argv)))) { + && (did_private = setup_private (argc, argv)) + /* WARNING: Do not change the order here. `setup_config()' must + come last, to work around an OAF race condition. */ + && (did_config = setup_config (argc, argv)))) { const gchar *failed = NULL; |