aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 81ba0f0bb..a38557d72 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -722,7 +722,7 @@ void
window_cmd_file_quit (GtkAction *action,
EphyWindow *window)
{
- if (ephy_session_close_all_windows (EPHY_SESSION (ephy_shell_get_session (ephy_shell))))
+ if (ephy_shell_close_all_windows (ephy_shell))
g_application_quit (g_application_get_default ());
}