From fe1bb9d0b60ab6a1b8a8c525d28d0b09d2d74641 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 29 Jun 2000 08:45:11 +0000 Subject: Don't make EShellViews ::ref the EShell. svn path=/trunk/; revision=3788 --- shell/ChangeLog | 5 +++++ shell/e-shell-view.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index 99912fdfab..b194b2d95e 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2000-06-29 Ettore Perazzoli + + * e-shell-view.c (e_shell_view_construct): Don't ref the shell. + (destroy): Don't unref the shell. + 2000-06-29 Ettore Perazzoli * e-shortcuts.c (e_shortcuts_construct): Fix typo: @shortcuts diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 56ddd12b87..ceea7ee97f 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -345,9 +345,6 @@ destroy (GtkObject *object) g_hash_table_foreach (priv->uri_to_control, hash_forall_destroy_control, NULL); g_hash_table_destroy (priv->uri_to_control); - if (priv->shell != NULL) - bonobo_object_unref (BONOBO_OBJECT (priv->shell)); - g_free (priv->uri); g_free (priv); @@ -436,7 +433,6 @@ e_shell_view_construct (EShellView *shell_view, gnome_app_construct (GNOME_APP (shell_view), "evolution", "Evolution"); - bonobo_object_ref (BONOBO_OBJECT (shell)); priv->shell = shell; setup_widgets (shell_view); -- cgit v1.2.3