From dc6bea5487edfaa18776380317d3a1af9181ea4f Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 22 Oct 2003 21:48:49 +0000 Subject: 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 --- shell/main.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'shell/main.c') 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) -- cgit