diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-10-23 05:48:49 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-10-23 05:48:49 +0800 |
commit | dc6bea5487edfaa18776380317d3a1af9181ea4f (patch) | |
tree | 6f0bc751470f4338805b6a3618c52b51ae10e291 /shell/main.c | |
parent | e4276a136b6289744082c0c1f42e2d49c9e2826c (diff) | |
download | gsoc2013-evolution-dc6bea5487edfaa18776380317d3a1af9181ea4f.tar.gz gsoc2013-evolution-dc6bea5487edfaa18776380317d3a1af9181ea4f.tar.zst gsoc2013-evolution-dc6bea5487edfaa18776380317d3a1af9181ea4f.zip |
New member "component_registry". (e_shell_construct): Don't call
* e-shell.c (struct _EShellPrivate): New member
"component_registry".
(e_shell_construct): Don't call e_shell_unregister_all().
(e_shell_unregister_all): Removed.
(e_shell_init): Use g_new0(), removed a bunch of NULL/FALSE
assignments.
(e_shell_init): Initialize the component_registry.
(e_shell_peek_uri_schema_registry): Rename from
e_shell_get_uri_schema_registry.
(e_shell_peek_component_registry): New.
(setup_components): Remove.
(e_shell_construct): Don't call.
* main.c (no_windows_left_cb): Don't call e_shell_unregister_all().
* e-shell.c (parse_default_uri): Removed.
(parse_evolution_uri): Removed.
(e_shell_parse_uri): Removed.
* e-component-info.c: Remove.
* e-component-info.h: Remove.
svn path=/trunk/; revision=23017
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/shell/main.c b/shell/main.c index 63879ab25b..6d84090840 100644 --- a/shell/main.c +++ b/shell/main.c @@ -145,12 +145,6 @@ no_windows_left_cb (EShell *shell, gpointer data) quit_box = quit_box_new (); g_object_add_weak_pointer (G_OBJECT (quit_box), (void **) &quit_box); - /* FIXME: This is wrong. We should exit only when the shell is - destroyed. But refcounting is broken at present, so this is a - reasonable workaround for now. */ - - e_shell_unregister_all (shell); - bonobo_object_unref (BONOBO_OBJECT (shell)); if (quit_box != NULL) |