aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-23 01:38:08 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-23 01:38:08 +0800
commit141f12fe3e0aafa6050d18534513d422fb00f9d4 (patch)
tree00b250d9b504543f80dcf1e4d2c5ea8f45a1b016
parent9d6caa82399c6fad6142cc632bda575d031a3ba5 (diff)
downloadgsoc2013-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
-rw-r--r--wombat/ChangeLog5
-rw-r--r--wombat/wombat.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/wombat/ChangeLog b/wombat/ChangeLog
index ecedb46a35..a76545aa3a 100644
--- a/wombat/ChangeLog
+++ b/wombat/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-22 Ettore Perazzoli <ettore@ximian.com>
+
+ * wombat.c (main): Register the public ConfigDatabase interface
+ last to work around an OAF race condition.
+
2001-10-11 Chris Toshok <toshok@ximian.com>
* Makefile.am (wombat_SOURCES): add wombat-private-moniker.[ch].
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;