diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-11-27 02:29:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-11-27 02:32:00 +0800 |
commit | 04aac07030e328e481df060d4b045b7e6d6117c1 (patch) | |
tree | 5242da6218b214ad397aea6cd176192c7073bbd0 /shell/main.c | |
parent | c0657eb024e529d720ace2871d9de407df1cdf7f (diff) | |
download | gsoc2013-evolution-04aac07030e328e481df060d4b045b7e6d6117c1.tar gsoc2013-evolution-04aac07030e328e481df060d4b045b7e6d6117c1.tar.gz gsoc2013-evolution-04aac07030e328e481df060d4b045b7e6d6117c1.tar.bz2 gsoc2013-evolution-04aac07030e328e481df060d4b045b7e6d6117c1.tar.lz gsoc2013-evolution-04aac07030e328e481df060d4b045b7e6d6117c1.tar.xz gsoc2013-evolution-04aac07030e328e481df060d4b045b7e6d6117c1.tar.zst gsoc2013-evolution-04aac07030e328e481df060d4b045b7e6d6117c1.zip |
Make EShell more subclassable.
Add method pointers to EShellClass for all the EShell signals.
Also rework my previous --quit corner case workaround: we'll want to do
the full shutdown procedure after all, since the backends have already
spun up.
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/shell/main.c b/shell/main.c index 3e3268b673..396cd690fa 100644 --- a/shell/main.c +++ b/shell/main.c @@ -415,13 +415,6 @@ shell_force_shutdown (void) } static void -shell_window_destroyed_cb (EShell *shell) -{ - if (e_shell_get_watched_windows (shell) == NULL) - gtk_main_quit (); -} - -static void create_default_shell (void) { EShell *shell; @@ -462,10 +455,6 @@ create_default_shell (void) "online", online, NULL); - g_signal_connect ( - shell, "window-destroyed", - G_CALLBACK (shell_window_destroyed_cb), NULL); - g_object_unref (client); /* EShell keeps its own reference to the first instance for use |