aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-06-29 16:45:11 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-06-29 16:45:11 +0800
commitfe1bb9d0b60ab6a1b8a8c525d28d0b09d2d74641 (patch)
treeb4232a1af16512df79a04d656f1be541098119e4
parent3bedc38a9480532b83e4bfeb386f4bbd7b611b38 (diff)
downloadgsoc2013-evolution-fe1bb9d0b60ab6a1b8a8c525d28d0b09d2d74641.tar
gsoc2013-evolution-fe1bb9d0b60ab6a1b8a8c525d28d0b09d2d74641.tar.gz
gsoc2013-evolution-fe1bb9d0b60ab6a1b8a8c525d28d0b09d2d74641.tar.bz2
gsoc2013-evolution-fe1bb9d0b60ab6a1b8a8c525d28d0b09d2d74641.tar.lz
gsoc2013-evolution-fe1bb9d0b60ab6a1b8a8c525d28d0b09d2d74641.tar.xz
gsoc2013-evolution-fe1bb9d0b60ab6a1b8a8c525d28d0b09d2d74641.tar.zst
gsoc2013-evolution-fe1bb9d0b60ab6a1b8a8c525d28d0b09d2d74641.zip
Don't make EShellViews ::ref the EShell.
svn path=/trunk/; revision=3788
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-view.c4
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,5 +1,10 @@
2000-06-29 Ettore Perazzoli <ettore@helixcode.com>
+ * e-shell-view.c (e_shell_view_construct): Don't ref the shell.
+ (destroy): Don't unref the shell.
+
+2000-06-29 Ettore Perazzoli <ettore@helixcode.com>
+
* e-shortcuts.c (e_shortcuts_construct): Fix typo: @shortcuts
should unset `GTK_FLOATING', not @storage_set.
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);