From 623b1de43d610df7dc767153aed62ec7e40894a6 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 4 Aug 2000 03:09:01 +0000 Subject: Everywhere unref the remote_uih having done a set_container. svn path=/trunk/; revision=4524 --- shell/ChangeLog | 3 +++ shell/e-shell-view.c | 2 +- shell/evolution-shell-component.c | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index eafb4f5b33..e1e38b6a2c 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,8 @@ 2000-08-04 Michael Meeks + * evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu): + unref. + * e-shell.c (e_shell_construct): Remove erroneous refs on folder_type_registry, storage_set. diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 8091baf1f4..414b9ddefc 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -482,7 +482,7 @@ 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); + bonobo_object_unref (BONOBO_OBJECT (priv->uih)); g_free (priv->uri); diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index e5d2d9edda..100160503f 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -285,6 +285,7 @@ impl_ShellComponent_populate_folder_context_menu (PortableServer_Servant servant uih = bonobo_ui_handler_new (); bonobo_ui_handler_set_container (uih, corba_uih); + bonobo_object_release_unref (corba_uih, NULL); (* priv->populate_folder_context_menu_fn) (shell_component, uih, physical_uri, type, priv->closure); -- cgit