diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-14 04:16:32 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-14 04:16:32 +0800 |
commit | 6933a8dc808127786e46dcf0484b908ea0f56eb0 (patch) | |
tree | cf79336efc3a1779ff2f42c12a4e09f40e768cce /shell/e-shell.c | |
parent | 6d218ecc3afdc124a2f4abee7e1c46d0a2d504f4 (diff) | |
download | gsoc2013-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/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } } |