From 6d6b9ec70ea0e6f16935ffbae676909c5a09f06c Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 4 Aug 2000 01:14:32 +0000 Subject: Remove erroneous refs on folder_type_registry, storage_set. 2000-08-04 Michael Meeks * e-shell.c (e_shell_construct): Remove erroneous refs on folder_type_registry, storage_set. * e-shortcuts-view.c (destroy): unref the shortcuts, causing a massive ripple chain ref-count reaction. svn path=/trunk/; revision=4522 --- shell/e-shell-view.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'shell/e-shell-view.c') diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index ac8db674d6..8091baf1f4 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -482,6 +482,8 @@ destroy (GtkObject *object) g_hash_table_foreach (priv->uri_to_control, hash_forall_destroy_control, NULL); g_hash_table_destroy (priv->uri_to_control); + bonobo_object_unref (priv->uih); + g_free (priv->uri); g_free (priv); @@ -841,8 +843,9 @@ get_control_for_uri (EShellView *shell_view, CORBA_exception_init (&ev); - corba_control = Evolution_ShellComponent_create_view (handler, e_folder_get_physical_uri (folder), - folder_type, &ev); + corba_control = Evolution_ShellComponent_create_view ( + handler, e_folder_get_physical_uri (folder), folder_type, &ev); + if (ev._major != CORBA_NO_EXCEPTION) { CORBA_exception_free (&ev); return NULL; -- cgit v1.2.3