diff options
author | Michael Meeks <mmeeks@src.gnome.org> | 2000-08-04 11:09:01 +0800 |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 2000-08-04 11:09:01 +0800 |
commit | 623b1de43d610df7dc767153aed62ec7e40894a6 (patch) | |
tree | 4cd922f361d734fc17215c45e161aaf6dc73e5da /shell | |
parent | 8ec2a002e8f98c11836ca0fd0924d84a65018908 (diff) | |
download | gsoc2013-evolution-623b1de43d610df7dc767153aed62ec7e40894a6.tar.gz gsoc2013-evolution-623b1de43d610df7dc767153aed62ec7e40894a6.tar.zst gsoc2013-evolution-623b1de43d610df7dc767153aed62ec7e40894a6.zip |
Everywhere unref the remote_uih having done a set_container.
svn path=/trunk/; revision=4524
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 3 | ||||
-rw-r--r-- | shell/e-shell-view.c | 2 | ||||
-rw-r--r-- | shell/evolution-shell-component.c | 1 |
3 files changed, 5 insertions, 1 deletions
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 <michael@helixcode.com> + * 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); |