diff options
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 6 |
1 files changed, 5 insertions, 1 deletions
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)); + } } |