From ac07e6a338f1dba0a4c5a5d044bb58b01e82a211 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 12 Oct 2001 05:23:47 +0000 Subject: [Hopefully really, finally fix #8615 and friends.] * main.c (no_views_left_cb): Invoke `e_shell_disconnect_db()' before unreffing the shell. * e-shell.c (e_shell_disconnect_db): New. (destroy): Call it instead of unreffing the db manually here. svn path=/trunk/; revision=13616 --- shell/e-shell.h | 1 + 1 file changed, 1 insertion(+) (limited to 'shell/e-shell.h') diff --git a/shell/e-shell.h b/shell/e-shell.h index 3e09b3f072..4c17930b43 100644 --- a/shell/e-shell.h +++ b/shell/e-shell.h @@ -116,6 +116,7 @@ gboolean e_shell_restore_from_settings (EShell *shell); void e_shell_destroy_all_views (EShell *shell); void e_shell_unregister_all (EShell *shell); +void e_shell_disconnect_db (EShell *shell); void e_shell_component_maybe_crashed (EShell *shell, const char *uri, -- cgit v1.2.3