aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-08-14 04:16:32 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-08-14 04:16:32 +0800
commit6933a8dc808127786e46dcf0484b908ea0f56eb0 (patch)
treecf79336efc3a1779ff2f42c12a4e09f40e768cce /shell
parent6d218ecc3afdc124a2f4abee7e1c46d0a2d504f4 (diff)
downloadgsoc2013-evolution-6933a8dc808127786e46dcf0484b908ea0f56eb0.tar.gz
gsoc2013-evolution-6933a8dc808127786e46dcf0484b908ea0f56eb0.tar.zst
gsoc2013-evolution-6933a8dc808127786e46dcf0484b908ea0f56eb0.zip
Restore the shell reffing/unreffing here.
* e-shell.c (view_destroy_cb): Restore the shell reffing/unreffing here. svn path=/trunk/; revision=11954
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog2
-rw-r--r--shell/e-shell.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 4e87c6f186..6b3d1cd816 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,7 @@
2001-08-13 Ettore Perazzoli <ettore@ximian.com>
+2001-08-13 Ettore Perazzoli <ettore@ximian.com>
+
* e-shell.c (view_destroy_cb): Restore the shell reffing/unreffing
here.
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 3d1fec1ff5..ac6fcc69b6 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -668,9 +668,9 @@ view_destroy_cb (GtkObject *object,
shell->priv->views = g_list_remove (shell->priv->views, object);
if (shell->priv->views == NULL) {
- /* bonobo_object_ref (BONOBO_OBJECT (shell)); */
+ bonobo_object_ref (BONOBO_OBJECT (shell));
gtk_signal_emit (GTK_OBJECT (shell), signals [NO_VIEWS_LEFT]);
- /* bonobo_object_unref (BONOBO_OBJECT (shell)); */
+ bonobo_object_unref (BONOBO_OBJECT (shell));
}
}