Remove erroneous refs on folder_type_registry, storage_set.

2000-08-04  Michael Meeks  <michael@helixcode.com>

	* 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
This commit is contained in:
Michael Meeks
2000-08-04 01:14:32 +00:00
committed by Michael Meeks
parent d2856de030
commit 6d6b9ec70e
6 changed files with 37 additions and 9 deletions

View File

@ -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;