From 1168da7072a57fb9fc66be77df43e82392659c18 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 20 Jul 2000 07:32:34 +0000 Subject: Added/fixed support for multiple views. svn path=/trunk/; revision=4234 --- shell/e-shell.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'shell/e-shell.c') diff --git a/shell/e-shell.c b/shell/e-shell.c index cd73795ee5..63c4b08f92 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -349,8 +349,12 @@ view_destroy_cb (GtkObject *object, shell = E_SHELL (data); shell->priv->views = g_list_remove (shell->priv->views, object); - if (shell->priv->views == NULL) + if (shell->priv->views == NULL) { + /* FIXME: This looks like a Bonobo bug to me. */ + bonobo_object_ref (BONOBO_OBJECT (shell)); gtk_signal_emit (GTK_OBJECT (shell), signals[NO_VIEWS_LEFT]); + bonobo_object_unref (BONOBO_OBJECT (shell)); + } } -- cgit