aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component-client.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-19 23:39:59 +0800
committerDan Winship <danw@src.gnome.org>2000-06-19 23:39:59 +0800
commitbfe29e73cd45f9d99d9fa7b855cac15fa5d3d2f3 (patch)
tree2899db556297fb3553de8a029eaa9d5a58193cac /shell/evolution-shell-component-client.c
parent97110efe38ee95eb2e80e033051898be04c52bf2 (diff)
downloadgsoc2013-evolution-bfe29e73cd45f9d99d9fa7b855cac15fa5d3d2f3.tar.gz
gsoc2013-evolution-bfe29e73cd45f9d99d9fa7b855cac15fa5d3d2f3.tar.zst
gsoc2013-evolution-bfe29e73cd45f9d99d9fa7b855cac15fa5d3d2f3.zip
Add a warning before crashing due to a known bug when it can't activate a
* evolution-shell-component-client.c (evolution_shell_component_client_new): Add a warning before crashing due to a known bug when it can't activate a component, so people don't have to waste any time trying to figure out what's up. svn path=/trunk/; revision=3633
Diffstat (limited to 'shell/evolution-shell-component-client.c')
-rw-r--r--shell/evolution-shell-component-client.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/evolution-shell-component-client.c b/shell/evolution-shell-component-client.c
index 29427501ab..7604c9dbce 100644
--- a/shell/evolution-shell-component-client.c
+++ b/shell/evolution-shell-component-client.c
@@ -359,6 +359,12 @@ evolution_shell_component_client_new (const char *id)
corba_object = activate_object_from_id (id);
if (corba_object == CORBA_OBJECT_NIL) {
+ printf ("Could not activate component %s.\n"
+ "(Maybe you need to set OAF_INFO_PATH?)\n"
+ "CRASHING!\n");
+ /* FIXME: This is not the right call here. It will SEGV
+ * in Bonobo_Unknown_unref.
+ */
bonobo_object_unref (BONOBO_OBJECT (new));
return NULL;
}