aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
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));
}
}