aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-session.c')
-rw-r--r--src/ephy-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index af2ec68a0..0fea3304d 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -208,7 +208,7 @@ client_quit_requested_cb (EggSMClient *sm_client,
*/
downloads = ephy_embed_shell_get_downloads (embed_shell);
- if (ephy_shell_get_default () == NULL || g_list_length (downloads) == 0)
+ if (ephy_shell_get_default () == NULL || downloads == NULL)
{
egg_sm_client_will_quit (sm_client, TRUE);
return;