diff options
author | Michael Meeks <michael@helixcode.com> | 2000-08-04 09:14:32 +0800 |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 2000-08-04 09:14:32 +0800 |
commit | 6d6b9ec70ea0e6f16935ffbae676909c5a09f06c (patch) | |
tree | 55eaa990de792cfdc46ec999514cb2361d429d2d /shell/e-shell-view.c | |
parent | d2856de03062e5540dfefe3b8449324467e63966 (diff) | |
download | gsoc2013-evolution-6d6b9ec70ea0e6f16935ffbae676909c5a09f06c.tar gsoc2013-evolution-6d6b9ec70ea0e6f16935ffbae676909c5a09f06c.tar.gz gsoc2013-evolution-6d6b9ec70ea0e6f16935ffbae676909c5a09f06c.tar.bz2 gsoc2013-evolution-6d6b9ec70ea0e6f16935ffbae676909c5a09f06c.tar.lz gsoc2013-evolution-6d6b9ec70ea0e6f16935ffbae676909c5a09f06c.tar.xz gsoc2013-evolution-6d6b9ec70ea0e6f16935ffbae676909c5a09f06c.tar.zst gsoc2013-evolution-6d6b9ec70ea0e6f16935ffbae676909c5a09f06c.zip |
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
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 7 |
1 files changed, 5 insertions, 2 deletions
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; |