aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r--src/ephy-main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index de6350cf7..042fd1f27 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -195,7 +195,8 @@ main (int argc, char *argv[])
bonobo_activate ();
- ephy_shell = ephy_shell_new ();
+ ephy_shell_new ();
+ g_assert (ephy_shell != NULL);
new_instance = ephy_shell_startup (ephy_shell, startup_flags,
args, string_arg, &err);