From 6cf9a97579df7e95363088485a2e6f2b833ba975 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 3 Jan 2008 10:20:36 +0000 Subject: ** Fix for bug #219197 2008-01-03 Milan Crha ** Fix for bug #219197 * e-shell.h: * e-shell.c: (e_shell_can_quit), (e_shell_do_quit), (e_shell_quit): Call of e_shell_quit divided into two functions, one to check if quit is acceptable by all components and second to do quit. * main.c: (gnome_master_client_save_yourself_cb), (gnome_master_client_die_cb), (main): Quit application when session dies. svn path=/trunk/; revision=34754 --- shell/e-shell.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/e-shell.h') diff --git a/shell/e-shell.h b/shell/e-shell.h index 2cd9921af0..958bb33581 100644 --- a/shell/e-shell.h +++ b/shell/e-shell.h @@ -129,7 +129,9 @@ void e_shell_show_settings (EShell *shell, const char *type, EShellWindow *shell_window); -gboolean e_shell_quit (EShell *shell); +gboolean e_shell_can_quit (EShell *shell); +gboolean e_shell_do_quit (EShell *shell); +gboolean e_shell_quit (EShell *shell); const char *e_shell_construct_result_to_string (EShellConstructResult result); -- cgit v1.2.3