aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-12-28 22:47:11 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-12-28 22:47:11 +0800
commitc51b91d1e34f5e731bc2f1c9e2fd203f2bdf18f5 (patch)
tree7e9769d4df349332ae5b302a0bad7011a8ba4aae /shell/main.c
parent8d50cb80ec698f2db1a6d9848232ad3935c5fcd6 (diff)
downloadgsoc2013-evolution-c51b91d1e34f5e731bc2f1c9e2fd203f2bdf18f5.tar
gsoc2013-evolution-c51b91d1e34f5e731bc2f1c9e2fd203f2bdf18f5.tar.gz
gsoc2013-evolution-c51b91d1e34f5e731bc2f1c9e2fd203f2bdf18f5.tar.bz2
gsoc2013-evolution-c51b91d1e34f5e731bc2f1c9e2fd203f2bdf18f5.tar.lz
gsoc2013-evolution-c51b91d1e34f5e731bc2f1c9e2fd203f2bdf18f5.tar.xz
gsoc2013-evolution-c51b91d1e34f5e731bc2f1c9e2fd203f2bdf18f5.tar.zst
gsoc2013-evolution-c51b91d1e34f5e731bc2f1c9e2fd203f2bdf18f5.zip
** Related to bug #562155
2008-12-28 Matthew Barnes <mbarnes@redhat.com> ** Related to bug #562155 * shell/main.c (idle_cb): Only call e_shell_set_crash_recovery() if the EShell Bonobo object was constructed successfully, otherwise it will be NULL. This fixes a warning shown in the terminal output of bug #562155, but the bug is not reproducible so it's not clear whether this fixes the bug. svn path=/trunk/; revision=36939
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/main.c b/shell/main.c
index 3e1176e92a..1638de0788 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -335,10 +335,10 @@ idle_cb (gchar **uris)
startup_line_mode = E_SHELL_STARTUP_LINE_MODE_OFFLINE;
shell = e_shell_new (startup_line_mode, &result);
- e_shell_set_crash_recovery (shell, e_file_lock_exists ());
switch (result) {
case E_SHELL_CONSTRUCT_RESULT_OK:
+ e_shell_set_crash_recovery (shell, e_file_lock_exists ());
g_signal_connect (shell, "no_windows_left", G_CALLBACK (no_windows_left_cb), NULL);
g_object_weak_ref (G_OBJECT (shell), shell_weak_notify, NULL);
corba_shell = bonobo_object_corba_objref (BONOBO_OBJECT (shell));