diff options
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/shell/main.c b/shell/main.c index 1bf97e8c74..589281a3d1 100644 --- a/shell/main.c +++ b/shell/main.c @@ -31,8 +31,7 @@ static void -shell_destroy_cb (GtkObject *object, - gpointer data) +no_views_left_cb (EShell *shell, gpointer data) { gtk_main_quit (); } @@ -103,8 +102,8 @@ main (int argc, char **argv) exit (1); } - gtk_signal_connect (GTK_OBJECT (shell), "destroy", - GTK_SIGNAL_FUNC (shell_destroy_cb), NULL); + gtk_signal_connect (GTK_OBJECT (shell), "no_views_left", + GTK_SIGNAL_FUNC (no_views_left_cb), NULL); e_shell_new_view (shell, NULL); |